diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-30 10:45:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-30 10:45:05 +0000 |
commit | ba188e0085612a599d67de0151aa514373dbbede (patch) | |
tree | 1aa20fa6769fce598e2d69072e4c6de0a42761e1 /src/namestore/gnunet-service-namestore.c | |
parent | ddbfc45f26b4851cbda1bffa19d1b980518dd7fb (diff) | |
download | gnunet-ba188e0085612a599d67de0151aa514373dbbede.tar.gz gnunet-ba188e0085612a599d67de0151aa514373dbbede.zip |
-fixing namestore to not disconnect on empty iteration result --- and namestore API to better survive disconnect
Diffstat (limited to 'src/namestore/gnunet-service-namestore.c')
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index ea5ad6cd0..1a675cb1f 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c | |||
@@ -844,7 +844,7 @@ handle_zone_to_name (void *cls, | |||
844 | &ztnr_msg.gns_header.header, | 844 | &ztnr_msg.gns_header.header, |
845 | GNUNET_NO); | 845 | GNUNET_NO); |
846 | } | 846 | } |
847 | GNUNET_SERVER_receive_done (client, ztn_ctx.success); | 847 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
848 | } | 848 | } |
849 | 849 | ||
850 | 850 | ||
@@ -1176,7 +1176,7 @@ monitor_iterate_cb (void *cls, | |||
1176 | 1176 | ||
1177 | 1177 | ||
1178 | /** | 1178 | /** |
1179 | * Handles a 'GNUNET_MESSAGE_TYPE_NAMESTORE_MONITOR_START' message | 1179 | * Handles a #GNUNET_MESSAGE_TYPE_NAMESTORE_MONITOR_START message |
1180 | * | 1180 | * |
1181 | * @param cls unused | 1181 | * @param cls unused |
1182 | * @param client GNUNET_SERVER_Client sending the message | 1182 | * @param client GNUNET_SERVER_Client sending the message |