git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '4.next'
[exim.git]
/
src
/
src
/
receive.c
diff --git
a/src/src/receive.c
b/src/src/receive.c
index 1f1954c575460828b2d2e704e04bbb6b0e3ea060..2b6143a3244889d56f720040a5a8b9e70bea70fe 100644
(file)
--- a/
src/src/receive.c
+++ b/
src/src/receive.c
@@
-1821,13
+1821,7
@@
for (;;)
/* header_size += 256; */
header_size *= 2;
if (!store_extend(next->text, oldsize, header_size))
/* header_size += 256; */
header_size *= 2;
if (!store_extend(next->text, oldsize, header_size))
- {
- BOOL release_ok = store_last_get[store_pool] == next->text;
- uschar *newtext = store_get(header_size);
- memcpy(newtext, next->text, ptr);
- if (release_ok) store_release(next->text);
- next->text = newtext;
- }
+ next->text = store_newblock(next->text, header_size, ptr);
}
/* Cope with receiving a binary zero. There is dispute about whether
}
/* Cope with receiving a binary zero. There is dispute about whether