diff options
author | ng0@n0.is <ng0@n0.is> | 2019-07-22 10:08:07 +0000 |
---|---|---|
committer | ng0@n0.is <ng0@n0.is> | 2019-07-22 10:08:07 +0000 |
commit | 467f6fc34f81c00ebd57fb4414db279eec7bdd78 (patch) | |
tree | a1c2f1bba2d65b1adb35061ad08e45f3a04ec7ac | |
parent | b78b309455eb3fcda7edaa448060d7ee92dc65ae (diff) | |
download | libmicrohttpd-gsoc2019-467f6fc34f81c00ebd57fb4414db279eec7bdd78.tar.gz libmicrohttpd-gsoc2019-467f6fc34f81c00ebd57fb4414db279eec7bdd78.zip |
format.
-rw-r--r-- | inc.c | 2 | ||||
-rw-r--r-- | mrg.c | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -53,3 +53,5 @@ main () | |||
53 | MHD_stop_daemon (daemon); | 53 | MHD_stop_daemon (daemon); |
54 | return 0; | 54 | return 0; |
55 | } | 55 | } |
56 | |||
57 | /* EOF inc.c */ | ||
@@ -29,8 +29,8 @@ answer_to_connection (void *cls, | |||
29 | int ret; | 29 | int ret; |
30 | struct MHD_Response *response = | 30 | struct MHD_Response *response = |
31 | MHD_create_response_from_buffer (strlen (body), | 31 | MHD_create_response_from_buffer (strlen (body), |
32 | (void *) body, | 32 | (void *) body, |
33 | MHD_RESPMEM_PERSISTENT); | 33 | MHD_RESPMEM_PERSISTENT); |
34 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); | 34 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); |
35 | MHD_destroy_response (response); | 35 | MHD_destroy_response (response); |
36 | return ret; | 36 | return ret; |
@@ -53,3 +53,5 @@ main () | |||
53 | MHD_stop_daemon (daemon); | 53 | MHD_stop_daemon (daemon); |
54 | return 0; | 54 | return 0; |
55 | } | 55 | } |
56 | |||
57 | /* EOF mrg.c */ | ||