git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a9a2ef6
)
tidying
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 13 Mar 2022 16:01:52 +0000
(16:01 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 16 Mar 2022 13:26:14 +0000
(13:26 +0000)
src/src/expand.c
patch
|
blob
|
history
diff --git
a/src/src/expand.c
b/src/src/expand.c
index 85619acfef4c5994ac6cc5655ba664b41690e000..95bf4ad07fe8e90460543119be44f289f2ab958a 100644
(file)
--- a/
src/src/expand.c
+++ b/
src/src/expand.c
@@
-3919,7
+3919,7
@@
Returns: new pointer for expandable string, terminated if non-null
*/
gstring *
*/
gstring *
-cat_file(FILE *
f, gstring *yield, uschar *
eol)
+cat_file(FILE *
f, gstring * yield, uschar *
eol)
{
uschar buffer[1024];
{
uschar buffer[1024];
@@
-3931,8
+3931,6
@@
while (Ufgets(buffer, sizeof(buffer), f))
if (eol && buffer[len])
yield = string_cat(yield, eol);
}
if (eol && buffer[len])
yield = string_cat(yield, eol);
}
-
-(void) string_from_gstring(yield);
return yield;
}
return yield;
}
@@
-3954,7
+3952,6
@@
while ((rc = tls_read(tls_ctx, buffer, sizeof(buffer))) > 0)
/* We assume that all errors, and any returns of zero bytes,
are actually EOF. */
/* We assume that all errors, and any returns of zero bytes,
are actually EOF. */
-(void) string_from_gstring(yield);
return yield;
}
#endif
return yield;
}
#endif