From: JINMEI Tatuya Date: Tue, 20 Mar 2012 18:02:23 +0000 (-0700) Subject: [1639] some minor editorial fixes: () for return, indentation consistency X-Git-Tag: trac2351_base~226^2~116^2~100^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=228fe4a17c5da83de7ea31735d2f283d0638d928;p=thirdparty%2Fkea.git [1639] some minor editorial fixes: () for return, indentation consistency --- diff --git a/tests/tools/perfdhcp/perfdhcp.c b/tests/tools/perfdhcp/perfdhcp.c index ac035a1bef..ba115cc49a 100644 --- a/tests/tools/perfdhcp/perfdhcp.c +++ b/tests/tools/perfdhcp/perfdhcp.c @@ -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 */