remove protocol violation
[oweals/gnunet.git] / src / psycstore / gnunet-service-psycstore.c
index 128bfd46c400fc9bf3d4a9d5e2544918ab1a8dd8..8a70bb22f9a71f1d14b7e7eaa07d5563043924ea 100644 (file)
@@ -86,7 +86,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 }
 
 
-/** 
+/**
  * Send a result code back to the client.
  *
  * @param client Client that should receive the result code.
@@ -346,7 +346,7 @@ handle_counters_get (void *cls,
                                       &res.max_group_generation);
   switch (ret)
   {
-  case GNUNET_YES:
+  case GNUNET_OK:
     ret = db->counters_state_get (db->cls, &req->channel_key,
                                   &res.max_state_message_id);
   case GNUNET_NO: