diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-30 10:59:43 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-30 10:59:43 +0000 |
commit | 941eab33e9722b26244e7f344311f065eb28ef44 (patch) | |
tree | 89f908444a5aa7a6181189535d3f08102efaa670 /server.c | |
parent | ab097f0c0c7cd6d30767fc63d05731197160aeeb (diff) | |
download | rtmux-941eab33e9722b26244e7f344311f065eb28ef44.tar.gz rtmux-941eab33e9722b26244e7f344311f065eb28ef44.tar.bz2 rtmux-941eab33e9722b26244e7f344311f065eb28ef44.zip |
%u -> %d for indexes. Some lint fixes.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.35 2007-10-26 12:29:07 nicm Exp $ */ +/* $Id: server.c,v 1.36 2007-10-30 10:59:43 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -59,11 +59,10 @@ server_start(char *path) { struct sockaddr_un sa; size_t size; - pid_t pid; mode_t mask; int n, fd, mode; - switch (pid = fork()) { + switch (fork()) { case -1: log_warn("fork"); return (-1); |