diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-09-05 15:02:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-09-05 15:02:06 +0200 |
commit | 727f0d8a8735dd638ff2f714f19c8c23852b99ba (patch) | |
tree | fd43a2d31c0cbebd121c9326c59570b8c2bcf6c9 /src/gns/nss/nss_gns_query.h | |
parent | e111bca33366139f76d6757f55faeb09406febe8 (diff) | |
download | gnunet-727f0d8a8735dd638ff2f714f19c8c23852b99ba.tar.gz gnunet-727f0d8a8735dd638ff2f714f19c8c23852b99ba.zip |
fix gns plugin action on NOTFOUND
Diffstat (limited to 'src/gns/nss/nss_gns_query.h')
-rw-r--r-- | src/gns/nss/nss_gns_query.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gns/nss/nss_gns_query.h b/src/gns/nss/nss_gns_query.h index 48cab4b22..bc732b3aa 100644 --- a/src/gns/nss/nss_gns_query.h +++ b/src/gns/nss/nss_gns_query.h | |||
@@ -57,7 +57,10 @@ struct userdata | |||
57 | * @param af address family | 57 | * @param af address family |
58 | * @param name the name to resolve | 58 | * @param name the name to resolve |
59 | * @param u the userdata (result struct) | 59 | * @param u the userdata (result struct) |
60 | * @return -1 on error else 0 | 60 | * @return -1 on internal error, |
61 | * -2 if request is not for GNS, | ||
62 | * -3 on timeout, | ||
63 | * else 0 | ||
61 | */ | 64 | */ |
62 | int | 65 | int |
63 | gns_resolve_name(int af, | 66 | gns_resolve_name(int af, |