ui: fix regression in printing VNC host/port on startup
If VNC is chosen as the compile time default display backend,
QEMU will print the host/port it listens on at startup.
Previously this would look like
  VNC server running on '::1:5900'
but in 04d2529da2 the ':' was
accidentally replaced with a ';'. This the ':' back.
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1465382576-25552-1-git-send-email-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
			
			
This commit is contained in:
		
							parent
							
								
									ec9fb41a9f
								
							
						
					
					
						commit
						83cf07b0b5
					
				
							
								
								
									
										2
									
								
								ui/vnc.c
								
								
								
								
							
							
						
						
									
										2
									
								
								ui/vnc.c
								
								
								
								
							| 
						 | 
					@ -3223,7 +3223,7 @@ char *vnc_display_local_addr(const char *id)
 | 
				
			||||||
        qapi_free_SocketAddress(addr);
 | 
					        qapi_free_SocketAddress(addr);
 | 
				
			||||||
        return NULL;
 | 
					        return NULL;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    ret = g_strdup_printf("%s;%s", addr->u.inet.data->host,
 | 
					    ret = g_strdup_printf("%s:%s", addr->u.inet.data->host,
 | 
				
			||||||
                          addr->u.inet.data->port);
 | 
					                          addr->u.inet.data->port);
 | 
				
			||||||
    qapi_free_SocketAddress(addr);
 | 
					    qapi_free_SocketAddress(addr);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue