projects
/
infodrom
/
sysklogd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdcaeb1
)
Correction to build tsyslogd again
author
Joey Schulze
<joey@infodrom.org>
Wed, 30 May 2007 15:43:45 +0000
(15:43 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 30 May 2007 15:43:45 +0000
(15:43 +0000)
syslogd.c
patch
|
blob
|
history
diff --git
a/syslogd.c
b/syslogd.c
index
f518dfa
..
45b44f6
100644
(file)
--- a/
syslogd.c
+++ b/
syslogd.c
@@
-835,7
+835,9
@@
int main(argc, argv)
{
register int i;
register char *p;
+#ifndef TESTING
ssize_t msglen;
+#endif
#if !defined(__GLIBC__)
int len, num_fds;
#else /* __GLIBC__ */
@@
-1060,8
+1062,10
@@
int main(argc, argv)
(char **) 0 )
{
logerror("Cannot allocate memory for message parts table.");
+#ifndef TESTING
if (getpid() != ppid)
kill (ppid, SIGTERM);
+#endif
die(0);
}
for(i= 0; i < num_fds; ++i)