projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deprecate blerg.httpd since it's become a hassle
[blerg.git]
/
cgi
/
rss.c
diff --git
a/cgi/rss.c
b/cgi/rss.c
index
c35e33b
..
f143e55
100644
(file)
--- a/
cgi/rss.c
+++ b/
cgi/rss.c
@@
-90,18
+90,18
@@
int main (int argc, char *argv) {
}
ret = parse_url_info(path + 1, &info);
}
ret = parse_url_info(path + 1, &info);
- if ((ret & URL_INFO_
AUTHOR
) == 0) {
+ if ((ret & URL_INFO_
NAME
) == 0) {
respond_404();
exit(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");
respond_404();
exit(0);
}
printf("Content-type: application/rss+xml\r\n\r\n");
- fprint_rss(stdout, info.
author
);
+ fprint_rss(stdout, info.
name
);
}
}