X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=lib%2Fperl%2FBlerg-Database%2FDatabase.xs;h=69d2442aa8f0896dc34b77273015bb2f374d7849;hb=04ffc0f160e4d2f6c74aa2a5d874a4fa77e53fbb;hp=04406c8f5e41a27f689fc8adc2266c62b30f5f37;hpb=260aec1f9de8f1c904d50d359dfb8964d58d37f2;p=blerg.git diff --git a/lib/perl/Blerg-Database/Database.xs b/lib/perl/Blerg-Database/Database.xs index 04406c8..69d2442 100644 --- a/lib/perl/Blerg-Database/Database.xs +++ b/lib/perl/Blerg-Database/Database.xs @@ -132,7 +132,7 @@ void tag_list(const char *tag, const char *str_offset, int direction) offset = strtoull(str_offset, NULL, 0); list = tag_list(tag, offset, &count, direction); if (list == NULL) { - XSRETURN_UNDEF; + XSRETURN_EMPTY; } i = count - 1; @@ -165,7 +165,7 @@ void _subscription_list(const char *author, const char *str_offset, int directio offset = strtoull(str_offset, NULL, 0); list = subscription_list(author, offset, &count, direction); if (list == NULL) { - XSRETURN_UNDEF; + XSRETURN_EMPTY; } i = count - 1;