-simplify logic
[oweals/gnunet.git] / src / transport / transport_api_monitor_peers.c
index aaf1000f665fc92fd60ef7ed32728128d88203e0..76cd7a85db67a8098544bce1b4c7610a121495a8 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2009-2014 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2009-2014 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -74,7 +74,7 @@ struct GNUNET_TRANSPORT_PeerMonitoringContext
   /**
    * Task ID for reconnect.
    */
-  struct GNUNET_SCHEDULER_Task * reconnect_task;
+  struct GNUNET_SCHEDULER_Task *reconnect_task;
 
   /**
    * Identity of the peer to monitor.
@@ -115,7 +115,7 @@ GNUNET_TRANSPORT_is_connected (enum GNUNET_TRANSPORT_PeerState state)
     return GNUNET_NO;
   default:
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Unhandled state `%s' \n",
+                "Unhandled state `%s'\n",
                 GNUNET_TRANSPORT_ps2s (state));
     GNUNET_break (0);
     break;