From c301e84afb0714d84662db1e7b2bf5eeb45da324 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 13 Mar 2022 16:01:52 +0000 Subject: tidying --- src/src/expand.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/src/expand.c b/src/src/expand.c index 85619acfe..95bf4ad07 100644 --- 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 * -cat_file(FILE *f, gstring *yield, uschar *eol) +cat_file(FILE * f, gstring * yield, uschar * eol) { uschar buffer[1024]; @@ -3931,8 +3931,6 @@ while (Ufgets(buffer, sizeof(buffer), f)) if (eol && buffer[len]) yield = string_cat(yield, eol); } - -(void) string_from_gstring(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. */ -(void) string_from_gstring(yield); return yield; } #endif -- cgit v1.2.3