commit: | 8cf18d84c5d5c49cfab0e181e9bb3c2777554da2 |
author: | Chip Black |
committer: | Chip Black |
date: | Sat Nov 23 22:58:23 2013 -0600 |
parents: | 7542c55f7a648271e3d2780480995c6a69c37a9e |
diff --git a/lib/perl/Blerg-Database/Database.xs b/lib/perl/Blerg-Database/Database.xs line changes: +2/-0 index a3f87a5..3d18898 --- a/lib/perl/Blerg-Database/Database.xs +++ b/lib/perl/Blerg-Database/Database.xs
@@ -131,6 +131,7 @@ void tag_list(const char *tag, const char *str_offset, int direction) int count, i; PPCODE: offset = strtoull(str_offset, NULL, 0); + count = 50; list = tag_list(tag, offset, &count, direction); if (list == NULL) { XSRETURN_EMPTY;
@@ -156,6 +157,7 @@ void _subscription_list(const char *author, const char *str_offset, int directio int count, i; PPCODE: offset = strtoull(str_offset, NULL, 0); + count = 50; list = subscription_list(author, offset, &count, direction); if (list == NULL) { XSRETURN_EMPTY;