From: Christian Grothoff Date: Wed, 19 Oct 2011 06:50:20 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~16412 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b618d49bc78a99a0d979d281506a0f2886cc110;p=oweals%2Fgnunet.git fix --- diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index fd156da84..e0e5e4c18 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c @@ -256,6 +256,7 @@ GAS_handle_preference_change (void *cls, struct GNUNET_SERVER_Client *client, { GNUNET_break (0); GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); + return; } msg = (const struct ChangePreferenceMessage *) message; nump = ntohl (msg->num_preferences); @@ -263,6 +264,7 @@ GAS_handle_preference_change (void *cls, struct GNUNET_SERVER_Client *client, { GNUNET_break (0); GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); + return; } pi = (const struct PreferenceInformation *) &msg[1]; for (i=0;i