- fix coverity
[oweals/gnunet.git] / src / cadet / gnunet-service-cadet_local.c
index 4c644185ed14cf49cda241408776ea908d438d81..0a7c3d14db3eff6c430d644a3a67dfe912d8cb96 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     Copyright (C) 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2013 GNUnet e.V.
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -852,7 +852,7 @@ handle_show_peer (void *cls, struct GNUNET_SERVER_Client *client,
   GNUNET_SERVER_notification_context_unicast (nc, c->handle,
                                               &resp->header, GNUNET_NO);
 
-  LOG (GNUNET_ERROR_TYPE_INFO, "Show peer request from client %u completed.\n");
+  LOG (GNUNET_ERROR_TYPE_INFO, "Show peer from client %u completed.\n", c->id);
   GNUNET_SERVER_receive_done (client, GNUNET_OK);
 }
 
@@ -1160,6 +1160,8 @@ GML_shutdown (void)
 {
   struct CadetClient *c;
 
+  LOG (GNUNET_ERROR_TYPE_DEBUG, "Shutting down local\n");
+
   for (c = clients_head; NULL != clients_head; c = clients_head)
     client_destroy (c);