mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 03:16:21 +00:00
win_print_incoming() strdup the charactar
Fix bug introduced in 1f8b1eb740.
Forgot to strdup() here.
This commit is contained in:
@@ -1101,7 +1101,7 @@ _win_correct(ProfWin *window, const char *const message, const char *const id, c
|
|||||||
void
|
void
|
||||||
win_print_incoming(ProfWin *window, const char *const display_name_from, ProfMessage *message)
|
win_print_incoming(ProfWin *window, const char *const display_name_from, ProfMessage *message)
|
||||||
{
|
{
|
||||||
char *enc_char = "-";
|
char *enc_char = strdup("-");
|
||||||
int flags = NO_ME;
|
int flags = NO_ME;
|
||||||
|
|
||||||
if (!message->trusted) {
|
if (!message->trusted) {
|
||||||
|
|||||||
Reference in New Issue
Block a user