summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scp.c b/scp.c
index 868a8eb3d..9b0a23f0e 100644
--- a/scp.c
+++ b/scp.c
@@ -75,7 +75,7 @@
75 */ 75 */
76 76
77#include "includes.h" 77#include "includes.h"
78RCSID("$OpenBSD: scp.c,v 1.80 2001/08/13 23:38:54 stevesk Exp $"); 78RCSID("$OpenBSD: scp.c,v 1.81 2001/08/29 20:44:03 markus Exp $");
79 79
80#include "xmalloc.h" 80#include "xmalloc.h"
81#include "atomicio.h" 81#include "atomicio.h"
@@ -1049,6 +1049,7 @@ allocbuf(bp, fd, blksize)
1049 bp->buf = xmalloc(size); 1049 bp->buf = xmalloc(size);
1050 else 1050 else
1051 bp->buf = xrealloc(bp->buf, size); 1051 bp->buf = xrealloc(bp->buf, size);
1052 memset(bp->buf, 0, size);
1052 bp->cnt = size; 1053 bp->cnt = size;
1053 return (bp); 1054 return (bp);
1054} 1055}