wanr people who use path names to rsync ::
authorAndrew Tridgell <tridge@samba.org>
Wed, 9 Sep 1998 05:51:08 +0000 (05:51 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 9 Sep 1998 05:51:08 +0000 (05:51 +0000)
clientserver.c

index 955be24..cf10b12 100644 (file)
@@ -36,6 +36,11 @@ int start_socket_client(char *host, char *path, int argc, char *argv[])
        extern int am_client;
        extern int am_sender;
 
+       if (*path == '/') {
+               rprintf(FERROR,"ERROR: The remote path must start with a module name\n");
+               return -1;
+       }
+
        p = strchr(host, '@');
        if (p) {
                user = host;