aboutsummaryrefslogtreecommitdiff
path: root/src/identity/gnunet-service-identity.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-16 07:42:11 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-16 07:42:11 +0000
commit1cd462e473e674fa5ab78110ec4f4c26dce1fb73 (patch)
treeb368b320349aebec6d825c87676dfa4fb3998c79 /src/identity/gnunet-service-identity.c
parentac9ec4a3dadd323c8b03c1e804748ac987b7c972 (diff)
downloadgnunet-1cd462e473e674fa5ab78110ec4f4c26dce1fb73.tar.gz
gnunet-1cd462e473e674fa5ab78110ec4f4c26dce1fb73.zip
-handle get failure properly
Diffstat (limited to 'src/identity/gnunet-service-identity.c')
-rw-r--r--src/identity/gnunet-service-identity.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/identity/gnunet-service-identity.c b/src/identity/gnunet-service-identity.c
index 95fb79c38..25352170b 100644
--- a/src/identity/gnunet-service-identity.c
+++ b/src/identity/gnunet-service-identity.c
@@ -315,7 +315,6 @@ handle_get_default_message (void *cls, struct GNUNET_SERVER_Client *client,
315 "DEFAULT_IDENTIFIER", 315 "DEFAULT_IDENTIFIER",
316 &identifier)) 316 &identifier))
317 { 317 {
318 /* FIXME: not sure client API handles this case correctly right now... */
319 send_result_code (client, 1, gettext_noop ("no default known")); 318 send_result_code (client, 1, gettext_noop ("no default known"));
320 GNUNET_SERVER_receive_done (client, GNUNET_OK); 319 GNUNET_SERVER_receive_done (client, GNUNET_OK);
321 return; 320 return;
@@ -333,7 +332,6 @@ handle_get_default_message (void *cls, struct GNUNET_SERVER_Client *client,
333 return; 332 return;
334 } 333 }
335 } 334 }
336 /* FIXME: not sure client API handles this case correctly right now... */
337 send_result_code (client, 1, 335 send_result_code (client, 1,
338 gettext_noop ("default configured, but ego unknown (internal error)")); 336 gettext_noop ("default configured, but ego unknown (internal error)"));
339 GNUNET_SERVER_receive_done (client, GNUNET_OK); 337 GNUNET_SERVER_receive_done (client, GNUNET_OK);