mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
actually create the queue, too
This commit is contained in:
parent
95692d4d86
commit
ff0daf5870
1 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ RAWLOG_REC *rawlog_create(void)
|
||||||
RAWLOG_REC *rec;
|
RAWLOG_REC *rec;
|
||||||
|
|
||||||
rec = g_new0(RAWLOG_REC, 1);
|
rec = g_new0(RAWLOG_REC, 1);
|
||||||
return rec;
|
rec->lines = g_queue_new();
|
||||||
|
return rec;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rawlog_destroy(RAWLOG_REC *rawlog)
|
void rawlog_destroy(RAWLOG_REC *rawlog)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue