initialize network variables

there were a number of variables copied over from the legacy Network
class that were not properly initialized.
This commit is contained in:
Matt Broadstone 2014-08-05 14:38:13 -04:00
parent 88e0d0827a
commit fdb8dddc14
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ ClientPrivate::ClientPrivate(Client *q)
: port(AMQP_PORT),
host(QString::fromLatin1(AMQP_HOST)),
virtualHost(QString::fromLatin1(AMQP_VHOST)),
autoReconnect(false),
timeout(-1),
connecting(false),
socket(0),
closed(false),
connected(false),