diff options
author | Simo Sorce <idra@samba.org> | 2001-08-05 16:05:40 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-08-05 16:05:40 +0000 |
commit | 92dbd04e0e95c4aa5960cb9aedd362ccede8212f (patch) | |
tree | 394a52fca4ad85ecd29253056efb0b8ea7ad6551 /source3 | |
parent | a3f96dd2293ff6711dbe3b643e96ac6d24c82a68 (diff) | |
download | samba-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')
-rw-r--r-- | source3/lib/util.c | 2 |
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; } |