summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2022-10-24 20:06:02 +0200
committerGravatar default2022-10-24 20:06:02 +0200
commitd2095105de3fe8c3397df7d46a9d61011b74c09e (patch)
tree743600f6c31479d1012d6e77ef4de666e7de51ca /httpd.c
parentUpdated dependencies. (diff)
downloadsnac2-d2095105de3fe8c3397df7d46a9d61011b74c09e.tar.gz
snac2-d2095105de3fe8c3397df7d46a9d61011b74c09e.tar.xz
snac2-d2095105de3fe8c3397df7d46a9d61011b74c09e.zip
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)
98{ 98{
99 xs *req; 99 xs *req;
100 char *method; 100 char *method;
101 int status = 0; 101 int status = 0;
102 char *body = NULL; 102 d_char *body = NULL;
103 int b_size = 0; 103 int b_size = 0;
104 char *ctype = NULL; 104 char *ctype = NULL;
105 xs *headers = NULL; 105 xs *headers = NULL;
106 xs *q_path = NULL; 106 xs *q_path = NULL;
107 xs *payload = NULL; 107 xs *payload = NULL;
108 int p_size = 0; 108 int p_size = 0;
109 char *p; 109 char *p;
110 110
111 req = xs_httpd_request(f, &payload, &p_size); 111 req = xs_httpd_request(f, &payload, &p_size);