pdima/qxmlrpc

Invalid constructor

Opened this issue · 0 comments

Hi.

There is error in one  constructor. d->http object not initialized but 
called via setHost method. 

 Index: xmlrpc/client.cpp
===================================================================
--- xmlrpc/client.cpp   (revision 2)
+++ xmlrpc/client.cpp   (working copy)
@@ -62,6 +62,7 @@
 : QObject( parent )
 {
     d = new Private;
+    d->http = new QHttp(this);
     setHost( hostName, port );

     //important: dissconnect all connection from http in destructor,

Original issue reported on code.google.com by sergei.s...@gmail.com on 22 Oct 2007 at 4:03