Also pass raw printed texts to the msghandler

This commit is contained in:
Pasi Kallinen
2016-08-27 21:07:33 +03:00
parent db83116130
commit 95447b1cf5

View File

@@ -336,6 +336,9 @@ VA_DECL(const char *, line)
pbuf[BUFSZ - 1] = '\0'; /* terminate strncpy or truncate vsprintf */
}
raw_print(line);
#if defined(MSGHANDLER) && (defined(POSIX_TYPES) || defined(__GNUC__))
execplinehandler(line);
#endif
#if !(defined(USE_STDARG) || defined(USE_VARARGS))
VA_END(); /* (see vpline) */
#endif