freebsd-ports/www/twhttpd/files/patch-ac
Alexey Dokuchaev 9f95d51df8 Fix an apparent typo, and unbreak this port.
Reported by:	kris
Approved by:	portmgr (krion), fjoe (mentor, implicit), maintainer
2004-09-30 18:42:01 +00:00

20 lines
499 B
Text

--- twhttpd.c.orig Sat Aug 31 05:16:35 2002
+++ twhttpd.c Wed Sep 25 12:02:49 2002
@@ -33,7 +33,7 @@
#include <signal.h>
#include <time.h>
#include <unistd.h>
-#include <wait.h>
+#include <sys/wait.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
@@ -3882,7 +3882,7 @@
lz_flush(hd->fd, &hd->fd_lzb);
}
syslog(LOG_ERR, "Exiting Testing Server\n");
- exit;
+ exit(0);
}
//////////////////////////////////////////////////////////////////////