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
Clean up comments for Doxygen.
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
7e2ec16
..
40a4376
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-47,6
+47,7
@@
int start_socket_client(char *host, char *path, int argc, char *argv[])
extern int remote_version;
extern int am_sender;
extern char *shell_cmd;
extern int remote_version;
extern int am_sender;
extern char *shell_cmd;
+ extern int list_only;
extern int kludge_around_eof;
extern char *bind_address;
extern int default_af_hint;
extern int kludge_around_eof;
extern char *bind_address;
extern int default_af_hint;
@@
-126,7
+127,7
@@
int start_socket_client(char *host, char *path, int argc, char *argv[])
/* Old servers may just drop the connection here,
rather than sending a proper EXIT command. Yuck. */
/* Old servers may just drop the connection here,
rather than sending a proper EXIT command. Yuck. */
- kludge_around_eof =
remote_version < 25
;
+ kludge_around_eof =
list_only && (remote_version < 25)
;
while (1) {
if (!read_line(fd, line, sizeof(line)-1)) {
while (1) {
if (!read_line(fd, line, sizeof(line)-1)) {