reverse queue

This commit is contained in:
ailin-nemui 2018-11-09 11:32:00 +01:00
commit 4537d85b0b
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ rawlog_get_lines(rawlog)
PREINIT:
GList *tmp;
PPCODE:
for (tmp = rawlog->lines->tail; tmp != NULL; tmp = tmp->prev) {
for (tmp = rawlog->lines->head; tmp != NULL; tmp = tmp->next) {
XPUSHs(sv_2mortal(new_pv(tmp->data)));
}