add 'sent: ' prefix to errors - sent - simple plaintext presentation tool
(HTM) git clone git://git.suckless.org/sent
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7e558105e6e46a6a2592f2ee15220b99922cd1f0
(DIR) parent 98e18541897b019d1c8bbd4b7a0ba51e65974a98
(HTM) Author: Markus Teich <markus.teich@stusta.mhn.de>
Date: Thu, 3 Dec 2015 22:59:29 +0100
add 'sent: ' prefix to errors
Diffstat:
M sent.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/sent.c b/sent.c
@@ -386,6 +386,8 @@ void eprintf(const char *fmt, ...)
{
va_list ap;
+ fputs("sent: ", stderr);
+
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);