diff options
author | Dan Harnett <danh@cvs.openbsd.org> | 2001-02-10 00:12:44 +0000 |
---|---|---|
committer | Dan Harnett <danh@cvs.openbsd.org> | 2001-02-10 00:12:44 +0000 |
commit | 94521b8214326590b8c8dfef6c63214def40ffcb (patch) | |
tree | a25455e05185363881578e7435a00a69a04f236a /usr.bin/ssh/scp.c | |
parent | 839c6f86c5b9693b06cabdb18dd53a514c301a61 (diff) |
revert a small change to allow -r option to work again; ok deraadt@
Diffstat (limited to 'usr.bin/ssh/scp.c')
-rw-r--r-- | usr.bin/ssh/scp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c index 48fe89f9b69..b8d37dc8f11 100644 --- a/usr.bin/ssh/scp.c +++ b/usr.bin/ssh/scp.c @@ -75,7 +75,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: scp.c,v 1.56 2001/02/08 19:30:52 itojun Exp $"); +RCSID("$OpenBSD: scp.c,v 1.57 2001/02/10 00:12:43 danh Exp $"); #include "xmalloc.h" #include "atomicio.h" @@ -755,8 +755,6 @@ sink(argc, argv) need = strlen(targ) + strlen(cp) + 250; if (need > cursize) { - if (namebuf) - xfree(namebuf); namebuf = xmalloc(need); cursize = need; } |