mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
improve rawlog perf
This commit is contained in:
parent
f5e587a83b
commit
05fd64dd16
3 changed files with 9 additions and 14 deletions
|
|
@ -501,7 +501,7 @@ static void perl_log_item_fill_hash(HV *hv, LOG_ITEM_REC *item)
|
|||
static void perl_rawlog_fill_hash(HV *hv, RAWLOG_REC *rawlog)
|
||||
{
|
||||
(void) hv_store(hv, "logging", 7, newSViv(rawlog->logging), 0);
|
||||
(void) hv_store(hv, "nlines", 6, newSViv(rawlog->nlines), 0);
|
||||
(void) hv_store(hv, "nlines", 6, newSViv(rawlog->lines->length), 0);
|
||||
}
|
||||
|
||||
static void perl_reconnect_fill_hash(HV *hv, RECONNECT_REC *reconnect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue