summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-08-05 16:05:40 +0000
committerSimo Sorce <idra@samba.org>2001-08-05 16:05:40 +0000
commit92dbd04e0e95c4aa5960cb9aedd362ccede8212f (patch)
tree394a52fca4ad85ecd29253056efb0b8ea7ad6551 /source3/lib
parenta3f96dd2293ff6711dbe3b643e96ac6d24c82a68 (diff)
downloadsamba-92dbd04e0e95c4aa5960cb9aedd362ccede8212f.tar.gz
samba-92dbd04e0e95c4aa5960cb9aedd362ccede8212f.tar.bz2
samba-92dbd04e0e95c4aa5960cb9aedd362ccede8212f.zip
me stupid.
never commit without building. sorry. (This used to be commit f87924aec4ff3ad1855b470c33df2e0ae9d51d85)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
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;
}