Whitespace.

This commit is contained in:
Bruce M Simpson 2004-06-14 22:44:13 +00:00
parent 17d7976856
commit 872b0f7946
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130496

View File

@ -75,7 +75,7 @@ CTL_RESPONSE response;
int debug = 0;
long lastmsgtime;
char hostname[MAXHOSTNAMELEN];
char hostname[MAXHOSTNAMELEN];
#define TIMEOUT 30
#define MAXIDLE 120
@ -109,7 +109,7 @@ main(int argc, char *argv[])
signal(SIGALRM, timeout);
alarm(TIMEOUT);
for (;;) {
cc = recv(0, (char *)mp, sizeof (*mp), 0);
cc = recv(0, (char *)mp, sizeof(*mp), 0);
if (cc != sizeof (*mp)) {
if (cc < 0 && errno != EINTR)
syslog(LOG_WARNING, "recv: %m");
@ -122,7 +122,7 @@ main(int argc, char *argv[])
process_request(mp, &response);
/* can block here, is this what I want? */
cc = sendto(STDIN_FILENO, (char *)&response,
sizeof (response), 0, &ctl_addr, sizeof (ctl_addr));
sizeof(response), 0, &ctl_addr, sizeof(ctl_addr));
if (cc != sizeof (response))
syslog(LOG_WARNING, "sendto: %m");
}