degesch: fix crash in the logger
Invalid arguments for the format string.
This commit is contained in:
parent
ca36726bf7
commit
3ed519c1c5
|
@ -2387,7 +2387,7 @@ buffer_line_display (struct app_context *ctx,
|
||||||
break;
|
break;
|
||||||
case BUFFER_LINE_QUIT:
|
case BUFFER_LINE_QUIT:
|
||||||
formatter_add (&f, "#a<--#r ", ATTR_PART);
|
formatter_add (&f, "#a<--#r ", ATTR_PART);
|
||||||
formatter_add (&f, "#c#s#r (#a%s#r) #a#s#r",
|
formatter_add (&f, "#c#s#r (#a#s#r) #a#s#r",
|
||||||
nick_color, nick, ATTR_USERHOST, userhost,
|
nick_color, nick, ATTR_USERHOST, userhost,
|
||||||
ATTR_PART, "has quit");
|
ATTR_PART, "has quit");
|
||||||
if (a->reason)
|
if (a->reason)
|
||||||
|
|
Loading…
Reference in New Issue