diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-21 12:48:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-21 12:48:57 +0000 |
commit | be43f7044a162f6bafbdda12c7771d9de457b203 (patch) | |
tree | 119dd23bd822074e5e59d511d84f7d24753240fc /src/util | |
parent | bdbe3ab96590430b7f7501d9187551bf2f418278 (diff) | |
download | gnunet-be43f7044a162f6bafbdda12c7771d9de457b203.tar.gz gnunet-be43f7044a162f6bafbdda12c7771d9de457b203.zip |
fix assertion failure when two requests were concurrently submitted if the first one was cancelled before receiving a reply
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/resolver_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c index 103634bbb..493fe046e 100644 --- a/src/util/resolver_api.c +++ b/src/util/resolver_api.c | |||
@@ -674,7 +674,7 @@ process_requests () | |||
674 | NULL); | 674 | NULL); |
675 | return; | 675 | return; |
676 | } | 676 | } |
677 | if (GNUNET_YES == rh->was_transmitted) | 677 | if (GNUNET_NO != rh->was_transmitted) |
678 | return; /* waiting for reply */ | 678 | return; /* waiting for reply */ |
679 | msg = (struct GNUNET_RESOLVER_GetMessage *) buf; | 679 | msg = (struct GNUNET_RESOLVER_GetMessage *) buf; |
680 | msg->header.size = | 680 | msg->header.size = |