summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-24 20:06:02 +0200
committerdefault <nobody@localhost>2022-10-24 20:06:02 +0200
commitd2095105de3fe8c3397df7d46a9d61011b74c09e (patch)
tree743600f6c31479d1012d6e77ef4de666e7de51ca /httpd.c
parent13ac53b06a094059099272259dd671f5363c27ae (diff)
Don't load unneeded actor info in html_entry().
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/httpd.c b/httpd.c
index a365b4d..d7fad93 100644
--- a/httpd.c
+++ b/httpd.c
@@ -98,14 +98,14 @@ void httpd_connection(FILE *f)
{
xs *req;
char *method;
- int status = 0;
- char *body = NULL;
- int b_size = 0;
- char *ctype = NULL;
- xs *headers = NULL;
- xs *q_path = NULL;
- xs *payload = NULL;
- int p_size = 0;
+ int status = 0;
+ d_char *body = NULL;
+ int b_size = 0;
+ char *ctype = NULL;
+ xs *headers = NULL;
+ xs *q_path = NULL;
+ xs *payload = NULL;
+ int p_size = 0;
char *p;
req = xs_httpd_request(f, &payload, &p_size);