From: Wilfried Goesgens Date: Tue, 13 Mar 2012 19:46:26 +0000 (+0100) Subject: network_talking_to(): fix detection whether we are already talking to a remote site. X-Git-Tag: v8.11~129 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1affaea1eb27c1c1862da05508b7bb213b657e5a network_talking_to(): fix detection whether we are already talking to a remote site. --- diff --git a/citadel/file_ops.c b/citadel/file_ops.c index 207a4b190..849194892 100644 --- a/citadel/file_ops.c +++ b/citadel/file_ops.c @@ -81,7 +81,7 @@ int network_talking_to(const char *nodename, long len, int operation) { if ((nttlist == NULL) || (GetCount(nttlist) == 0)) break; - if (!GetHash(nttlist, nodename, len, &vdata)) + if (GetHash(nttlist, nodename, len, &vdata)) retval ++; syslog(LOG_DEBUG, "nttlist: have [%d] <%s>\n", retval, nodename); break;