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
Tweaked a comment.
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
dfee754
..
e8b5efd
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-792,7
+792,7
@@
void start_server(int f_in, int f_out, int argc, char *argv[])
io_set_sock_fds(f_in, f_out);
setup_protocol(f_out, f_in);
io_set_sock_fds(f_in, f_out);
setup_protocol(f_out, f_in);
-#if
def HAVE_ICONV
+#if
defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H
setup_iconv();
#endif
setup_iconv();
#endif
@@
-831,7
+831,7
@@
int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[])
io_set_sock_fds(f_in, f_out);
setup_protocol(f_out,f_in);
io_set_sock_fds(f_in, f_out);
setup_protocol(f_out,f_in);
-#if
def HAVE_ICONV
+#if
defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H
setup_iconv();
#endif
setup_iconv();
#endif