Support gring as a first-class conversion specifier in internal string-formatting
[exim.git] / src / src / header.c
index 59a9a13b304d4eba2e800bb0db952ffe284c8b5f..97fa44b4ef41cd9473bf31ab63f572e006346cd3 100644 (file)
@@ -110,7 +110,7 @@ gs.ptr = 0;
 
 if (!string_vformat(&gs, SVFMT_REBUFFER, format, ap))
   log_write(0, LOG_MAIN|LOG_PANIC_DIE, "string too long in header_add: "
-    "%.100s ...", string_from_gstring(&gs));
+    "%.100Y ...", &gs);
 
 if (gs.s != buf) store_release_above(buf);
 gstring_release_unused(&gs);