aboutsummaryrefslogtreecommitdiff
path: root/src/util/scheduler.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-20 16:05:06 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-20 16:05:06 +0000
commit0ada07d91217807b9566aa76fb2f20512be308d5 (patch)
tree207e7853dfec07b81a325a3313eacbcff43c1b08 /src/util/scheduler.c
parentd544e81283a24082e6423c8f4377939f6fefa780 (diff)
downloadgnunet-0ada07d91217807b9566aa76fb2f20512be308d5.tar.gz
gnunet-0ada07d91217807b9566aa76fb2f20512be308d5.zip
-indentation, cleanup
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r--src/util/scheduler.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c
index 7f7246ec0..cf1e073b1 100644
--- a/src/util/scheduler.c
+++ b/src/util/scheduler.c
@@ -1610,7 +1610,6 @@ GNUNET_SCHEDULER_add_select (enum GNUNET_SCHEDULER_Priority prio,
1610 GNUNET_SCHEDULER_Task task, void *task_cls) 1610 GNUNET_SCHEDULER_Task task, void *task_cls)
1611{ 1611{
1612 struct Task *t; 1612 struct Task *t;
1613
1614#if EXECINFO 1613#if EXECINFO
1615 void *backtrace_array[MAX_TRACE_DEPTH]; 1614 void *backtrace_array[MAX_TRACE_DEPTH];
1616#endif 1615#endif
@@ -1627,12 +1626,12 @@ GNUNET_SCHEDULER_add_select (enum GNUNET_SCHEDULER_Priority prio,
1627#endif 1626#endif
1628 t->read_fd = -1; 1627 t->read_fd = -1;
1629 t->write_fd = -1; 1628 t->write_fd = -1;
1630 if (rs != NULL) 1629 if (NULL != rs)
1631 { 1630 {
1632 t->read_set = GNUNET_NETWORK_fdset_create (); 1631 t->read_set = GNUNET_NETWORK_fdset_create ();
1633 GNUNET_NETWORK_fdset_copy (t->read_set, rs); 1632 GNUNET_NETWORK_fdset_copy (t->read_set, rs);
1634 } 1633 }
1635 if (ws != NULL) 1634 if (NULL != ws)
1636 { 1635 {
1637 t->write_set = GNUNET_NETWORK_fdset_create (); 1636 t->write_set = GNUNET_NETWORK_fdset_create ();
1638 GNUNET_NETWORK_fdset_copy (t->write_set, ws); 1637 GNUNET_NETWORK_fdset_copy (t->write_set, ws);