oops, convert to char*
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 19 Jan 2012 08:39:30 +0000 (09:39 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 19 Jan 2012 08:39:30 +0000 (09:39 +0100)
citadel/modules/network/serv_networkclient.c

index 5843ae62db8fede71d2a7ad57d9d6e6d0aafa9c1..649447340d563609a9c4761805699a76ad1c4d66 100644 (file)
@@ -888,7 +888,7 @@ void network_poll_other_citadel_nodes(int full_poll, char *working_ignetcfg)
                        }
                        if (poll) {
                                NW->Url = NewStrBufPlain(NULL, StrLength(Line));
-                               if ((StrLength (NW->host) > NULL) && (!strcmp(NW->host, "0.0.0.0")))
+                               if ((StrLength (NW->host) > NULL) && (!strcmp(ChrPtr(NW->host), "0.0.0.0")))
                                        StrBufPrintf(NW->Url, "citadel://:%s@%s:%s", 
                                                     ChrPtr(NW->secret),
                                                     ChrPtr(NW->host),