mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Deleted useless code.
This commit is contained in:
parent
7a743f584e
commit
e2a410ca51
1 changed files with 1 additions and 4 deletions
5
html.c
5
html.c
|
@ -717,15 +717,12 @@ d_char *html_timeline(snac *snac, char *list, int local)
|
||||||
|
|
||||||
int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype)
|
int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype)
|
||||||
{
|
{
|
||||||
int status;
|
int status = 404;
|
||||||
snac snac;
|
snac snac;
|
||||||
char *uid, *p_path;
|
char *uid, *p_path;
|
||||||
int cache = 1;
|
int cache = 1;
|
||||||
char *v;
|
char *v;
|
||||||
|
|
||||||
status = 404;
|
|
||||||
*ctype = NULL;
|
|
||||||
|
|
||||||
xs *l = xs_split_n(q_path, "/", 2);
|
xs *l = xs_split_n(q_path, "/", 2);
|
||||||
|
|
||||||
uid = xs_list_get(l, 1);
|
uid = xs_list_get(l, 1);
|
||||||
|
|
Loading…
Reference in a new issue