fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 1 Aug 2011 07:48:28 +0000 (07:48 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 1 Aug 2011 07:48:28 +0000 (07:48 +0000)
src/util/os_priority.c

index fc11a7abf0d39717437fca434f8b83e0a6e2de3a..6097c9756a28a2512343b8e903eff2b6c1d7a4c7 100644 (file)
@@ -84,15 +84,11 @@ parent_control_handler (void *cls,
 #if DEBUG_OS
          GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 
                      "Got control code %d from parent\n", sig);
-#endif
-         raise (sig);
-#if DEBUG_OS
-         GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 
-                     "Re-scheduling the parent control handler pipe\n");
 #endif
          GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, 
                                          control_pipe, 
                                          &parent_control_handler, control_pipe);
+         raise (sig);
        }
     }
 }