add 'sent: ' prefix to errors

This commit is contained in:
Markus Teich 2015-12-03 22:59:29 +01:00
parent 98e1854189
commit 7e558105e6

2
sent.c
View File

@ -386,6 +386,8 @@ void eprintf(const char *fmt, ...)
{ {
va_list ap; va_list ap;
fputs("sent: ", stderr);
va_start(ap, fmt); va_start(ap, fmt);
vfprintf(stderr, fmt, ap); vfprintf(stderr, fmt, ap);
va_end(ap); va_end(ap);