commit be43f7044a162f6bafbdda12c7771d9de457b203
parent bdbe3ab96590430b7f7501d9187551bf2f418278
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 21 May 2015 12:48:57 +0000
fix assertion failure when two requests were concurrently submitted if the first one was cancelled before receiving a reply
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 =