Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f2a222
)
Moved an extern into its proper place.
author
Wayne Davison
<wayned@samba.org>
Fri, 24 Feb 2006 01:39:10 +0000
(
01:39
+0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 24 Feb 2006 01:39:10 +0000
(
01:39
+0000)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
72a2837
..
77ce6d1
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-39,6
+39,7
@@
extern int local_server;
extern int quiet;
extern int module_id;
extern int msg_fd_out;
extern int quiet;
extern int module_id;
extern int msg_fd_out;
+extern int orig_umask;
extern int allow_8bit_chars;
extern int protocol_version;
extern int preserve_times;
extern int allow_8bit_chars;
extern int protocol_version;
extern int preserve_times;
@@
-143,7
+144,6
@@
static void syslog_init()
static void logfile_open(void)
{
static void logfile_open(void)
{
- extern int orig_umask;
int old_umask = umask(022 | orig_umask);
logfile = fopen(logfname, "a");
umask(old_umask);
int old_umask = umask(022 | orig_umask);
logfile = fopen(logfname, "a");
umask(old_umask);