diff options
author | Jeremy Allison <jra@samba.org> | 1997-09-02 22:21:38 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-09-02 22:21:38 +0000 |
commit | e1e4b37ac785da3829f4326722c34a473a17ade5 (patch) | |
tree | 484ddd3771b13b01841aeffefb8b209887f10be3 /source3/lib | |
parent | 918cc5f033360508da21d61ca1358ba8c7f0700d (diff) | |
download | samba-e1e4b37ac785da3829f4326722c34a473a17ade5.tar.gz samba-e1e4b37ac785da3829f4326722c34a473a17ade5.tar.bz2 samba-e1e4b37ac785da3829f4326722c34a473a17ade5.zip |
reply.c: Removed unused variables. Caught by gcc -Wall -Werror
server.c: Fix for old DOS clients not understanding ERRbaddirectory - map to ERRbadpath.
util.c: Fix for systems with no LOG_DAEMON facility.
Jeremy (jallison@whistle.com)
(This used to be commit dadb1ffb4ca5222c0b62d785cd714d65cae328e8)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 0f2786a5cf..3b4453dd5b 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -91,7 +91,11 @@ void setup_logging(char *pname,BOOL interactive) if (!interactive) { char *p = strrchr(pname,'/'); if (p) pname = p+1; +#ifdef LOG_DAEMON openlog(pname, LOG_PID, LOG_DAEMON); +#else /* LOG_DAEMON - for old systems that have no facility codes. */ + openlog(pname, LOG_PID); +#endif /* LOG_DAEMON */ } #endif if (interactive) { |