abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit a76088e0c0bea87b06128b7a3149b6388d109166
parent f7a3290c9cc0c6fa8c2926a6f222e2354d83f45c
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu,  6 Mar 2014 18:34:41 +0100

Prefix info messages with session name

Diffstat:
abduco.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abduco.c b/abduco.c @@ -163,7 +163,7 @@ static void info(const char *str, ...) { va_start(ap, str); fprintf(stdout, "\e[999H\r\n"); if (str) { - fprintf(stdout, "%s: ", server.name); + fprintf(stdout, "%s: %s: ", server.name, server.session_name); vfprintf(stdout, str, ap); fprintf(stdout, "\r\n"); }