Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved the authentication and in particular the error reporting
[rsync/rsync.git]
/
log.c
diff --git
a/log.c
b/log.c
index
ebf796b
..
19339c7
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-55,7
+55,7
@@
void rprintf(int fd, const char *format, ...)
if (!initialised) {
initialised = 1;
#ifdef LOG_DAEMON
if (!initialised) {
initialised = 1;
#ifdef LOG_DAEMON
- openlog("rsyncd", LOG_PID,
LOG_DAEMON
);
+ openlog("rsyncd", LOG_PID,
lp_syslog_facility()
);
#else
openlog("rsyncd", LOG_PID);
#endif
#else
openlog("rsyncd", LOG_PID);
#endif