diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-29 20:47:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-29 20:47:18 +0000 |
commit | 71ea5bd2d05058008e604ffd42993be9c7250e04 (patch) | |
tree | a5074671ddfaa9d1621a4182fc95a91a98b3d536 /src/util/scheduler.c | |
parent | b335777fd435142c16eb05e86c8a64a4b1a45447 (diff) | |
download | gnunet-71ea5bd2d05058008e604ffd42993be9c7250e04.tar.gz gnunet-71ea5bd2d05058008e604ffd42993be9c7250e04.zip |
-fixing indentation
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r-- | src/util/scheduler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c index d4a11fc8a..1acc9a6d6 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c | |||
@@ -676,7 +676,7 @@ run_ready (struct GNUNET_NETWORK_FDSet *rs, struct GNUNET_NETWORK_FDSet *ws) | |||
676 | if (((tc.reason & GNUNET_SCHEDULER_REASON_WRITE_READY) != 0) && | 676 | if (((tc.reason & GNUNET_SCHEDULER_REASON_WRITE_READY) != 0) && |
677 | (pos->write_fd != -1) && | 677 | (pos->write_fd != -1) && |
678 | (!GNUNET_NETWORK_fdset_test_native (ws, pos->write_fd))) | 678 | (!GNUNET_NETWORK_fdset_test_native (ws, pos->write_fd))) |
679 | GNUNET_abort (); // added to ready in previous select loop! | 679 | GNUNET_abort (); // added to ready in previous select loop! |
680 | #if DEBUG_TASKS | 680 | #if DEBUG_TASKS |
681 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Running task: %llu / %p\n", pos->id, | 681 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Running task: %llu / %p\n", pos->id, |
682 | pos->callback_cls); | 682 | pos->callback_cls); |
@@ -726,9 +726,9 @@ sighandler_shutdown () | |||
726 | static char c; | 726 | static char c; |
727 | int old_errno = errno; /* backup errno */ | 727 | int old_errno = errno; /* backup errno */ |
728 | 728 | ||
729 | if (getpid() != my_pid) | 729 | if (getpid () != my_pid) |
730 | exit(1); /* we have fork'ed since the signal handler was created, | 730 | exit (1); /* we have fork'ed since the signal handler was created, |
731 | ignore the signal, see https://gnunet.org/vfork discussion */ | 731 | * ignore the signal, see https://gnunet.org/vfork discussion */ |
732 | GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle | 732 | GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle |
733 | (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE), | 733 | (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE), |
734 | &c, sizeof (c)); | 734 | &c, sizeof (c)); |