]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1639] some minor editorial fixes: () for return, indentation consistency
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 20 Mar 2012 18:02:23 +0000 (11:02 -0700)
committerMukund Sivaraman <muks@isc.org>
Wed, 21 Mar 2012 04:38:31 +0000 (10:08 +0530)
tests/tools/perfdhcp/perfdhcp.c

index ac035a1befe4609e35a97021ba1ce7ee13f7b76f..ba115cc49ade5105ae82ef6534e8cc06a0b0b8bf 100644 (file)
@@ -80,17 +80,17 @@ pselect (int nfds, fd_set *readfds, fd_set *writefds,
          fd_set *exceptfds, const struct timespec *timeout,
          const sigset_t *sigmask)
 {
-    struct timeval my_timeout;
+       struct timeval my_timeout;
 
-    /* Our particular usage of pselect() doesn't use these fields. */
-    assert(writefds == NULL);
-    assert(exceptfds == NULL);
-    assert(sigmask == NULL);
+       /* Our particular usage of pselect() doesn't use these fields. */
+       assert(writefds == NULL);
+       assert(exceptfds == NULL);
+       assert(sigmask == NULL);
 
-    my_timeout.tv_sec = timeout->tv_sec;
-    my_timeout.tv_usec = timeout->tv_nsec / 1000;
+       my_timeout.tv_sec = timeout->tv_sec;
+       my_timeout.tv_usec = timeout->tv_nsec / 1000;
 
-    return select(nfds, readfds, writefds, exceptfds, &my_timeout);
+       return (select(nfds, readfds, writefds, exceptfds, &my_timeout));
 }
 
 #endif /* HAVE_PSELECT */