You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
369 B
18 lines
369 B
6 years ago
|
diff --git a/rcp/rcp.c b/rcp/rcp.c
|
||
|
index 897185f..635dd49 100644
|
||
|
--- a/rcp/rcp.c
|
||
|
+++ b/rcp/rcp.c
|
||
|
@@ -721,6 +721,12 @@ sink(int argc, char *argv[])
|
||
|
(void)write(rem, "", 1);
|
||
|
continue;
|
||
|
}
|
||
|
+ if(*cp == 'W') {
|
||
|
+ while (*cp != '\0')
|
||
|
+ cp++;
|
||
|
+
|
||
|
+ continue;
|
||
|
+ }
|
||
|
if (*cp != 'C' && *cp != 'D') {
|
||
|
/*
|
||
|
* Check for the case "rcp remote:foo\* local:bar".
|