aboutsummaryrefslogtreecommitdiff
path: root/src/util/resolver_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-21 12:48:57 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-21 12:48:57 +0000
commitbe43f7044a162f6bafbdda12c7771d9de457b203 (patch)
tree119dd23bd822074e5e59d511d84f7d24753240fc /src/util/resolver_api.c
parentbdbe3ab96590430b7f7501d9187551bf2f418278 (diff)
fix assertion failure when two requests were concurrently submitted if the first one was cancelled before receiving a reply
Diffstat (limited to 'src/util/resolver_api.c')
-rw-r--r--src/util/resolver_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c
index 103634bbbd..493fe046ed 100644
--- a/src/util/resolver_api.c
+++ b/src/util/resolver_api.c
@@ -674,7 +674,7 @@ process_requests ()
NULL);
return;
}
- if (GNUNET_YES == rh->was_transmitted)
+ if (GNUNET_NO != rh->was_transmitted)
return; /* waiting for reply */
msg = (struct GNUNET_RESOLVER_GetMessage *) buf;
msg->header.size =