More abstraction of the gstring API
[exim.git] / src / src / acl.c
index 5ab6747764959f5380fbc998411e538fd4a5ea7f..17d6c68da009e61d0382bb44a83de3ae38aaef36 100644 (file)
@@ -1092,7 +1092,7 @@ for (header_line * h = acl_added_headers; h; h = h->next)
   g = string_append_listele_n(g, '\n', h->text, i);
   }
 
-return g ? g->s : NULL;
+return string_from_gstring(g);
 }