projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Many fixes.
[apps/pfixtools.git]
/
common
/
common.c
diff --git
a/common/common.c
b/common/common.c
index
e9e4f2e
..
43b2bf2
100644
(file)
--- a/
common/common.c
+++ b/
common/common.c
@@
-68,7
+68,7
@@
void common_sighandler(int sig)
}
}
-
static
int setnonblock(int sock)
+int setnonblock(int sock)
{
int res = fcntl(sock, F_GETFL);
@@
-297,7
+297,7
@@
extern exitcall_t __madexit[];
static void common_shutdown(void)
{
- if (daemon_process) {
+ if (daemon_process
&& log_syslog
) {
info("stopping...");
}
pidfile_close();