[virt-tools-list] [virt-viewer][PATCH] Don't SIGSEGV if no transport is used.

2012-11-14 Thread Michal Privoznik
One of previous commits (74b1b62510d939) allowed us to connect to localhost directly if ssh transport was used. However, if there's not transport, we SIGSEGV'ed as g_str_equal doesn't like NULL as one of arguments. Change this to g_strcmp0 which does the same service but is more friendly to NULL

Re: [virt-tools-list] [virt-viewer][PATCH] Don't SIGSEGV if no transport is used.

2012-11-14 Thread Marc-André Lureau
ack - Mensaje original - One of previous commits (74b1b62510d939) allowed us to connect to localhost directly if ssh transport was used. However, if there's not transport, we SIGSEGV'ed as g_str_equal doesn't like NULL as one of arguments. Change this to g_strcmp0 which does the same

Re: [virt-tools-list] [virt-viewer][PATCH] Don't SIGSEGV if no transport is used.

2012-11-14 Thread Christophe Fergeau
On Wed, Nov 14, 2012 at 03:25:28PM +0100, Michal Privoznik wrote: One of previous commits (74b1b62510d939) allowed us to connect to localhost directly if ssh transport was used. However, if there's not transport, we SIGSEGV'ed as g_str_equal doesn't like NULL as no transport ACK Christophe

Re: [virt-tools-list] [virt-viewer][PATCH] Don't SIGSEGV if no transport is used.

2012-11-14 Thread Daniel P. Berrange
On Wed, Nov 14, 2012 at 03:25:28PM +0100, Michal Privoznik wrote: One of previous commits (74b1b62510d939) allowed us to connect to localhost directly if ssh transport was used. However, if there's not transport, we SIGSEGV'ed as g_str_equal doesn't like NULL as one of arguments. Change this