From 21b53af31dcf5e881bf2e6617d7605653119c2f4 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Tue, 23 Jan 2007 00:11:32 +0000 Subject: 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 --- main/asterisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/asterisk.c') 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, "", 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; -- cgit v1.2.3