Martin Kletzander 900d44d70b Fix URI connect precedence
Commit abfff210 changed the order of vshParseArgv() and vshInit() in
order to make fix debugging of parameter parsing.  However, vshInit()
did a vshReconnect() even though ctl->name wasn't set according to the
'-c' parameter yet.  In order to keep both issues fixed, I've split
the vshInit() into vshInitDebug() and vshInit().

One simple memleak of ctl->name is fixed as a part of this patch,
since it is related to the issue it's fixing.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=999323
(cherry picked from commit a0b6a36f9456dae895f50d344fd2d38be1167c58)
2013-10-15 15:58:17 +02:00
..
2012-12-07 14:21:25 +01:00
2013-05-20 14:03:48 -06:00
2013-10-15 15:58:17 +02:00
2013-05-20 14:03:48 -06:00