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
Added a command-line override for daemon config parameters:
[rsync/rsync.git]
/
log.c
diff --git
a/log.c
b/log.c
index
58c6bb1
..
13c9311
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-53,12
+53,12
@@
extern char *logfile_name;
extern iconv_t ic_chck;
#endif
#ifdef ICONV_OPTION
extern iconv_t ic_chck;
#endif
#ifdef ICONV_OPTION
-extern iconv_t ic_
send, ic_
recv;
+extern iconv_t ic_recv;
#endif
#endif
-extern char curr_dir[];
+extern char curr_dir[
MAXPATHLEN
];
extern char *module_dir;
extern unsigned int module_dirlen;
extern char *module_dir;
extern unsigned int module_dirlen;
-extern char sender_file_sum[];
+extern char sender_file_sum[
MAX_DIGEST_LEN
];
static int log_initialised;
static int logfile_was_closed;
static int log_initialised;
static int logfile_was_closed;
@@
-351,7
+351,7
@@
output_msg:
int ierrno;
INIT_CONST_XBUF(outbuf, convbuf);
int ierrno;
INIT_CONST_XBUF(outbuf, convbuf);
- INIT_XBUF(inbuf, (char*)buf, len, -1);
+ INIT_XBUF(inbuf, (char*)buf, len,
(size_t)
-1);
while (inbuf.len) {
iconvbufs(ic, &inbuf, &outbuf, 0);
while (inbuf.len) {
iconvbufs(ic, &inbuf, &outbuf, 0);