Skip to contentSkip to conversation

vnc: fix mismerge

PATCH In review Gerd Hoffmann 3 participants 3 messages Nov 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vnc: fix mismerge

Commit "4d77b1f vnc: fix bug: vnc server can't start when 'to' is specified" was rebased incorrectly, fix it.

---
 ui/vnc.c | 2 --
 1 file changed, 2 deletions(-)
ui/vnc.c +0 -2
index a47f2b3..a4fc024 100644
@@ -3571,8 +3571,6 @@ void vnc_display_open(const char *id, Error **errp)
 
             if (to) {
                 saddr->u.inet->has_to = true;
-                saddr->u.inet->to = to;
-                saddr->u.inet->has_to = true;
                 saddr->u.inet->to = to + 5900;
             }
             saddr->u.inet->ipv4 = saddr->u.inet->has_ipv4 = has_ipv4;
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Gerd Hoffmann

Commit "4d77b1f vnc: fix bug: vnc server can't start when 'to' is specified" was rebased incorrectly, fix it.

---
 ui/vnc.c | 2 --
 1 file changed, 2 deletions(-)
ui/vnc.c +0 -0
index a47f2b3..a4fc024 100644

ui/vnc.c void vnc_display_open(const char *id, Error **errp) · line 3576

Quoted 8 lines
ui/vnc.c +0 -2
@@ -3571,8 +3571,6 @@ void vnc_display_open(const char *id, Error **errp)
 
             if (to) {
                 saddr->u.inet->has_to = true;
-                saddr->u.inet->to = to;
-                saddr->u.inet->has_to = true;
                 saddr->u.inet->to = to + 5900;
             }
             saddr->u.inet->ipv4 = saddr->u.inet->has_ipv4 = has_ipv4;
Reviewed-by on v1 1/1
#2 lore raw
In reply to Gerd Hoffmann
Quoted 15 lines · Gerd Hoffmann

Commit "4d77b1f vnc: fix bug: vnc server can't start when 'to' is specified" was rebased incorrectly, fix it.

---
  ui/vnc.c | 2 --
  1 file changed, 2 deletions(-)
ui/vnc.c +0 -0
index a47f2b3..a4fc024 100644

ui/vnc.c void vnc_display_open(const char *id, Error **errp) · line 3576

Quoted 8 lines
ui/vnc.c +0 -2
@@ -3571,8 +3571,6 @@ void vnc_display_open(const char *id, Error **errp)
 
              if (to) {
                  saddr->u.inet->has_to = true;
-                saddr->u.inet->to = to;
-                saddr->u.inet->has_to = true;
                  saddr->u.inet->to = to + 5900;
              }
              saddr->u.inet->ipv4 = saddr->u.inet->has_ipv4 = has_ipv4;
Signature · 2 lines
Thanks,
Yang