aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-07-13 08:33:09 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-07-13 08:33:09 +0300
commit2aabe59373c29410c00ae59cd86cb475c961b56c (patch)
tree43063644a70dee80276cc65b8a0509c154c22473 /src
parentc452c3dc47bacf1cb4dfd7a8129d62fa8819282e (diff)
downloadmagi-2aabe59373c29410c00ae59cd86cb475c961b56c.tar
magi-2aabe59373c29410c00ae59cd86cb475c961b56c.tar.xz
magi-2aabe59373c29410c00ae59cd86cb475c961b56c.zip
magi_response_send, urlenc docs.
Diffstat (limited to 'src')
-rw-r--r--src/response.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/response.c b/src/response.c
index c5b7575..7723e26 100644
--- a/src/response.c
+++ b/src/response.c
@@ -25,12 +25,16 @@ static void response_headers(magi_params *p)
}
}
-void magi_response_free(magi_response *r)
+void magi_response_send(magi_response *r)
{
response_headers(r->head_response);
response_headers(r->head_general);
response_headers(r->head_entity);
fputs("\r\n", stdout);
+}
+
+void magi_response_free(magi_response *r)
+{
magi_params_free(r->head_response);
magi_params_free(r->head_general);
magi_params_free(r->head_entity);