Prefix info messages with session name

This commit is contained in:
Marc André Tanner 2014-03-06 18:34:41 +01:00
parent f7a3290c9c
commit a76088e0c0
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}