gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27224 - gnunet/src/arm


From: gnunet
Subject: [GNUnet-SVN] r27224 - gnunet/src/arm
Date: Tue, 21 May 2013 15:22:21 +0200

Author: grothoff
Date: 2013-05-21 15:22:20 +0200 (Tue, 21 May 2013)
New Revision: 27224

Modified:
   gnunet/src/arm/gnunet-arm.c
Log:
-indentation

Modified: gnunet/src/arm/gnunet-arm.c
===================================================================
--- gnunet/src/arm/gnunet-arm.c 2013-05-21 13:01:30 UTC (rev 27223)
+++ gnunet/src/arm/gnunet-arm.c 2013-05-21 13:22:20 UTC (rev 27224)
@@ -312,15 +312,18 @@
   }
 }
 
+
 static void
 end_callback (void *cls, 
-    enum GNUNET_ARM_RequestStatus rs, const char *service,
-    enum GNUNET_ARM_Result result)
+             enum GNUNET_ARM_RequestStatus rs, const char *service,
+             enum GNUNET_ARM_Result result)
 {
   if (GNUNET_ARM_REQUEST_SENT_OK != rs)
   {
     char *msg;
-    GNUNET_asprintf (&msg, "%s", _("Failed to send a stop request to the ARM 
service: %s\n"));
+
+    GNUNET_asprintf (&msg, "%s", 
+                    _("Failed to send a stop request to the ARM service: 
%s\n"));
     FPRINTF (stdout, msg, req_string (rs));
     GNUNET_free (msg);
     GNUNET_SCHEDULER_shutdown ();
@@ -342,6 +345,7 @@
   else
   {
     char *msg;
+
     GNUNET_asprintf (&msg, "%s", _("Failed to stop the ARM service: %s\n"));
     FPRINTF (stdout, msg, ret_string (result));
     GNUNET_free (msg);
@@ -349,10 +353,11 @@
   }
 }
 
+
 static void
 start_callback (void *cls,
-    enum GNUNET_ARM_RequestStatus rs, const char *service,
-    enum GNUNET_ARM_Result result)
+               enum GNUNET_ARM_RequestStatus rs, const char *service,
+               enum GNUNET_ARM_Result result)
 {
   char *msg;
 
@@ -375,18 +380,18 @@
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ARM service [re]start successful\n");
   start = 0;
   GNUNET_SCHEDULER_add_now (action_loop, NULL);
-  return;
 }
 
 
 static void
 init_callback (void *cls, 
-    enum GNUNET_ARM_RequestStatus rs, const char *service,
-    enum GNUNET_ARM_Result result)
+              enum GNUNET_ARM_RequestStatus rs, const char *service,
+              enum GNUNET_ARM_Result result)
 {
   if (GNUNET_ARM_REQUEST_SENT_OK != rs)
   {
     char *msg;
+
     GNUNET_asprintf (&msg, _("Failed to send a request to start the `%s' 
service: %%s\n"), init);
     FPRINTF (stdout, msg, req_string (rs));
     GNUNET_free (msg);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]