diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-20 12:51:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-20 12:51:41 +0200 |
commit | 98edad8c6d481091fda3a59d1047762e10fe72c0 (patch) | |
tree | d5ad2187bbd0cbb3014688d8a48349cfb504d21e /src/util/resolver_api.c | |
parent | 18a14f4dac9dbf517fbe8158b740147a06083cc4 (diff) | |
download | gnunet-98edad8c6d481091fda3a59d1047762e10fe72c0.tar.gz gnunet-98edad8c6d481091fda3a59d1047762e10fe72c0.zip |
do not crash on multiple CNAMEs
Diffstat (limited to 'src/util/resolver_api.c')
-rw-r--r-- | src/util/resolver_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c index 68f02587a..21f902578 100644 --- a/src/util/resolver_api.c +++ b/src/util/resolver_api.c | |||
@@ -515,8 +515,8 @@ handle_response (void *cls, | |||
515 | if ( (NULL != rh->addr_callback) && | 515 | if ( (NULL != rh->addr_callback) && |
516 | (GNUNET_SYSERR != rh->was_transmitted) ) | 516 | (GNUNET_SYSERR != rh->was_transmitted) ) |
517 | rh->addr_callback (rh->cls, | 517 | rh->addr_callback (rh->cls, |
518 | NULL, | 518 | NULL, |
519 | 0); | 519 | 0); |
520 | } | 520 | } |
521 | rh->was_transmitted = GNUNET_NO; | 521 | rh->was_transmitted = GNUNET_NO; |
522 | GNUNET_RESOLVER_request_cancel (rh); | 522 | GNUNET_RESOLVER_request_cancel (rh); |