use c99
[oweals/gnunet.git] / src / arm / gnunet-service-arm.c
index 82ea8edaa013662df8b7d8773752168d717853c4..0ccffa27ba03cde8a254929c1b64ec64c3513acd 100644 (file)
@@ -481,8 +481,8 @@ start_process (struct ServiceList *sl,
       optpos = options;
       GNUNET_asprintf (&options,
                        "%s %s",
-                       optpos,
-                       fin_options);
+                       fin_options,
+                       optpos);
       GNUNET_free (optpos);
     }
     else
@@ -502,11 +502,11 @@ start_process (struct ServiceList *sl,
 
     is_simple_service = GNUNET_NO;
     if ( (GNUNET_OK ==
-            GNUNET_CONFIGURATION_get_value_choice (cfg,
-                                                   sl->name,
-                                                   "TYPE",
-                                                   choices,
-                                                   &service_type)) &&
+          GNUNET_CONFIGURATION_get_value_choice (cfg,
+                                                 sl->name,
+                                                 "TYPE",
+                                                 choices,
+                                                 &service_type)) &&
          (0 == strcasecmp (service_type, "SIMPLE")) )
       is_simple_service = GNUNET_YES;
   }