diff options
author | Joshua Colp <jcolp@digium.com> | 2007-01-23 00:11:32 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-01-23 00:11:32 +0000 |
commit | 21b53af31dcf5e881bf2e6617d7605653119c2f4 (patch) | |
tree | 2dedc24f8adfd522fcad82dd7e12e53bf19ff853 /main/asterisk.c | |
parent | dcdc6c0bc6d89a9f204dd637826e8b690ebf0206 (diff) |
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 4d5d5d42e..52847a3f9 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -670,7 +670,7 @@ int ast_safe_system(const char *s) execl("/bin/sh", "/bin/sh", "-c", s, (char *) NULL); _exit(1); } else if (pid > 0) { - for(;;) { + for (;;) { res = wait4(pid, &status, 0, &rusage); if (res > -1) { res = WIFEXITED(status) ? WEXITSTATUS(status) : -1; @@ -778,7 +778,7 @@ static void *netconsole(void *vconsole) ast_copy_string(hostname, "<Unknown>", sizeof(hostname)); snprintf(tmp, sizeof(tmp), "%s/%ld/%s\n", hostname, (long)ast_mainpid, ASTERISK_VERSION); fdprint(con->fd, tmp); - for(;;) { + for (;;) { fds[0].fd = con->fd; fds[0].events = POLLIN; fds[0].revents = 0; |