fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 19 Oct 2011 06:50:20 +0000 (06:50 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 19 Oct 2011 06:50:20 +0000 (06:50 +0000)
src/ats/gnunet-service-ats_performance.c

index fd156da8498d41a99875b1b118ce3b2a407322fc..e0e5e4c1823ddb99e3887345bf1ce1a4af5a27dc 100644 (file)
@@ -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<nump;i++)