From f87924aec4ff3ad1855b470c33df2e0ae9d51d85 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 5 Aug 2001 16:05:40 +0000 Subject: [PATCH] me stupid. never commit without building. sorry. --- source/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/util.c b/source/lib/util.c index 86c93e5ad0e..ac0a004a264 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -524,7 +524,7 @@ SMB_OFF_T transfer_file(int infd,int outfd,SMB_OFF_T n,char *header,int headlen, } while (!buf && size>0) { - buf = (char *)malloc(buf,size+8); + buf = (char *)malloc(size+8); if (!buf) size /= 2; }