Add subscription feed fetching, clean up a bit
[blerg.git] / tools / blergtool.c
index cc78c7d..b0e7368 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include "database.h"
@@ -54,7 +57,7 @@ int main(int argc, char *argv[]) {
        } else if (strncmp(argv[1], "list", 4) == 0) {
                char *tag = argv[2];
                int count = 50;
-               struct tag *list = tag_list(tag, 0, &count, -1);
+               struct blergref *list = tag_list(tag, 0, &count, -1);
                if (list == NULL) {
                        printf("No entries");
                } else {