From 92dbd04e0e95c4aa5960cb9aedd362ccede8212f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 5 Aug 2001 16:05:40 +0000 Subject: me stupid. never commit without building. sorry. (This used to be commit f87924aec4ff3ad1855b470c33df2e0ae9d51d85) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/util.c b/source3/lib/util.c index 86c93e5ad0..ac0a004a26 100644 --- a/source3/lib/util.c +++ b/source3/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; } -- cgit