extern int remote_version;
extern int am_sender;
extern struct in_addr socket_address;
- extern int blocking_io;
+
+ if (argc == 0 && !am_sender) {
+ extern int list_only;
+ list_only = 1;
+ }
if (*path == '/') {
rprintf(FERROR,"ERROR: The remote path must start with a module name\n");
if (!user) user = getenv("USER");
if (!user) user = getenv("LOGNAME");
- blocking_io = 1;
-
fd = open_socket_out(host, rsync_port, &socket_address);
if (fd == -1) {
exit_cleanup(RERR_SOCKETIO);