git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3f96dd
)
me stupid.
author
Simo Sorce
<idra@samba.org>
Sun, 5 Aug 2001 16:05:40 +0000
(16:05 +0000)
committer
Simo Sorce
<idra@samba.org>
Sun, 5 Aug 2001 16:05:40 +0000
(16:05 +0000)
never commit without building.
sorry.
(This used to be commit
f87924aec4ff3ad1855b470c33df2e0ae9d51d85
)
source3/lib/util.c
patch
|
blob
|
history
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index 86c93e5ad0e81ea7775c8ccef7bef9c70c009314..ac0a004a26493fddcd9d6c8b9258e9b9b05a404f 100644
(file)
--- 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;
}