From 0ada07d91217807b9566aa76fb2f20512be308d5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 20 Dec 2013 16:05:06 +0000 Subject: -indentation, cleanup --- src/util/scheduler.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/util/scheduler.c') 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, GNUNET_SCHEDULER_Task task, void *task_cls) { struct Task *t; - #if EXECINFO void *backtrace_array[MAX_TRACE_DEPTH]; #endif @@ -1627,12 +1626,12 @@ GNUNET_SCHEDULER_add_select (enum GNUNET_SCHEDULER_Priority prio, #endif t->read_fd = -1; t->write_fd = -1; - if (rs != NULL) + if (NULL != rs) { t->read_set = GNUNET_NETWORK_fdset_create (); GNUNET_NETWORK_fdset_copy (t->read_set, rs); } - if (ws != NULL) + if (NULL != ws) { t->write_set = GNUNET_NETWORK_fdset_create (); GNUNET_NETWORK_fdset_copy (t->write_set, ws); -- cgit v1.2.3