(sendrequest): lmode != rmode
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6289 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -615,7 +615,7 @@ sendrequest (char *cmd, char *local, char *remote, char *lmode, int printnames) | ||||
|     int (*closefunc) (FILE *); | ||||
|     RETSIGTYPE (*oldintr)(), (*oldintp)(); | ||||
|     long bytes = 0, hashbytes = HASHBYTES; | ||||
|     char *rmode; | ||||
|     char *rmode = "w"; | ||||
|  | ||||
|     if (verbose && printnames) { | ||||
| 	if (local && strcmp (local, "-") != 0) | ||||
| @@ -632,7 +632,7 @@ sendrequest (char *cmd, char *local, char *remote, char *lmode, int printnames) | ||||
|     closefunc = NULL; | ||||
|     oldintr = NULL; | ||||
|     oldintp = NULL; | ||||
|     lmode = "w"; | ||||
|  | ||||
|     if (setjmp (sendabort)) { | ||||
| 	while (cpend) { | ||||
| 	    getreply (0); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Johan Danielsson
					Johan Danielsson