aboutsummaryrefslogtreecommitdiff
path: root/doc/chapters/responseheaders.inc
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-02-11 09:16:23 +0000
committerChristian Grothoff <christian@grothoff.org>2011-02-11 09:16:23 +0000
commit6abbeb5f407232f9742970232ca2ab9e37f62e1f (patch)
treeb3cbc530c1f6d92067f7b18eaad6451f24c27eaa /doc/chapters/responseheaders.inc
parent5eba2735dcd3e185920de5114fd89c57c3503232 (diff)
downloadlibmicrohttpd-6abbeb5f407232f9742970232ca2ab9e37f62e1f.tar.gz
libmicrohttpd-6abbeb5f407232f9742970232ca2ab9e37f62e1f.zip
mantis 1659
Diffstat (limited to 'doc/chapters/responseheaders.inc')
-rw-r--r--doc/chapters/responseheaders.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/chapters/responseheaders.inc b/doc/chapters/responseheaders.inc
index 0c9f7ab2..570776c8 100644
--- a/doc/chapters/responseheaders.inc
+++ b/doc/chapters/responseheaders.inc
@@ -113,7 +113,7 @@ But in the case of success a response will be constructed directly from the file
113 } 113 }
114 114
115 response = 115 response =
116 MHD_create_response_from_fd_at_offset (fd, sbuf.st_size, 0); 116 MHD_create_response_from_fd_at_offset (sbuf.st_size, fd, 0);
117 MHD_add_response_header (response, "Content-Type", MIMETYPE); 117 MHD_add_response_header (response, "Content-Type", MIMETYPE);
118 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 118 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
119 MHD_destroy_response (response); 119 MHD_destroy_response (response);