aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/responseheaders.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/responseheaders.c')
-rw-r--r--doc/examples/responseheaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/responseheaders.c b/doc/examples/responseheaders.c
index a78db1b9..db62a9c7 100644
--- a/doc/examples/responseheaders.c
+++ b/doc/examples/responseheaders.c
@@ -47,7 +47,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
47 return MHD_NO; 47 return MHD_NO;
48 } 48 }
49 response = 49 response =
50 MHD_create_response_from_fd_at_offset (fd, sbuf.st_size, 0); 50 MHD_create_response_from_fd_at_offset (sbuf.st_size, fd, 0);
51 MHD_add_response_header (response, "Content-Type", MIMETYPE); 51 MHD_add_response_header (response, "Content-Type", MIMETYPE);
52 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 52 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
53 MHD_destroy_response (response); 53 MHD_destroy_response (response);