Look for strcasecmp in -lresolv for Unixware.
[rsync/rsync.git] / clientserver.c
index 4b8ed53..7dee544 100644 (file)
@@ -253,7 +253,7 @@ static int rsync_module(int fd, int i)
                                request = strdup(p);
                                start_glob++;
                        }
-                       glob_expand(name, argv, &argc, MAX_ARGS);
+                       glob_expand(name, argv, &argc, MAX_ARGS, !use_chroot);
                } else {
                        argc++;
                }
@@ -314,6 +314,11 @@ static int rsync_module(int fd, int i)
                exit_cleanup(RERR_SYNTAX);
        }
 
+       if (lp_timeout(i)) {
+               extern int io_timeout;
+               io_timeout = lp_timeout(i);
+       }
+
        start_server(fd, fd, argc, argp);
 
        return 0;