diff options
author | N.N. <matju@users.sourceforge.net> | 2009-06-02 18:49:26 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-06-02 18:49:26 +0000 |
commit | 65b6daec9d32b65317b11d7ba003ea52d166b335 (patch) | |
tree | 38cc06af7d2a7da8e244b6eae965ddd747b94ac4 | |
parent | 8200ef52c31953edf5076f28059dbd889cec2a25 (diff) |
reformat
svn path=/trunk/; revision=11621
-rw-r--r-- | desiredata/src/s_watchdog.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/desiredata/src/s_watchdog.c b/desiredata/src/s_watchdog.c index 14089eeb..49bffbb6 100644 --- a/desiredata/src/s_watchdog.c +++ b/desiredata/src/s_watchdog.c @@ -17,13 +17,8 @@ int main(int argc, char **argv) { while (1) { struct timeval timout; fd_set readset; - if (happy) { - timout.tv_sec = 5; - timout.tv_usec = 0; - } else { - timout.tv_sec = 2; - timout.tv_usec = 0; - } + if (happy) {timout.tv_sec = 5; timout.tv_usec = 0;} + else {timout.tv_sec = 2; timout.tv_usec = 0;} FD_ZERO(&readset); FD_SET(0, &readset); select(1, &readset, 0, 0, &timout); |