summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-30 10:59:43 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-30 10:59:43 +0000
commit941eab33e9722b26244e7f344311f065eb28ef44 (patch)
tree89f908444a5aa7a6181189535d3f08102efaa670 /server.c
parentab097f0c0c7cd6d30767fc63d05731197160aeeb (diff)
%u -> %d for indexes. Some lint fixes.
Diffstat (limited to 'server.c')
-rw-r--r--server.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/server.c b/server.c
index 81c0cddd..3a0290b3 100644
--- a/server.c
+++ b/server.c
@@ -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);