diff options
Diffstat (limited to 'doc/chapters/responseheaders.inc')
-rw-r--r-- | doc/chapters/responseheaders.inc | 2 |
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); |