Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d91367
)
wanr people who use path names to rsync ::
author
Andrew Tridgell
<tridge@samba.org>
Wed, 9 Sep 1998 05:51:08 +0000
(
05:51
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 9 Sep 1998 05:51:08 +0000
(
05:51
+0000)
clientserver.c
patch
|
blob
|
blame
|
history
diff --git
a/clientserver.c
b/clientserver.c
index
955be24
..
cf10b12
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-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;