Debug: feed startup "whats supported" info through normal debug channel
[exim.git] / src / src / lookups / nis.c
index 3747f83d4866b2cb576f0be54d8470c9970c6059..795da38915d3bef6ac256be307782fa2c008c2b3 100644 (file)
@@ -97,12 +97,13 @@ return (rc == YPERR_KEY || rc == YPERR_MAP)? FAIL : DEFER;
 
 #include "../version.h"
 
-void
-nis_version_report(FILE *f)
+gstring *
+nis_version_report(gstring * g)
 {
 #ifdef DYNLOOKUP
-fprintf(f, "Library version: NIS: Exim version %s\n", EXIM_VERSION_STR);
+g = string_fmt_append(g, "Library version: NIS: Exim version %s\n", EXIM_VERSION_STR);
 #endif
+return g;
 }