+/* 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 <time.h>
}
ret = parse_url_info(path + 1, &info);
- if ((ret & URL_INFO_AUTHOR) == 0) {
+ if ((ret & URL_INFO_NAME) == 0) {
respond_404();
exit(0);
}
- if (!blerg_exists(info.author)) {
+ if (!blerg_exists(info.name)) {
respond_404();
exit(0);
}
printf("Content-type: application/rss+xml\r\n\r\n");
- fprint_rss(stdout, info.author);
+ fprint_rss(stdout, info.name);
}