mantis 1659

This commit is contained in:
Christian Grothoff
2011-02-11 09:16:23 +00:00
parent 5eba2735dc
commit 6abbeb5f40
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -1,3 +1,6 @@
Fri Feb 11 10:15:38 CET 2011
Fixing parameter ordering in documentation (#1659). -wellska
Thu Jan 27 10:51:39 CET 2011
Disable 'EXTRA_CHECKS's by default as suggested in #1652
(I guess it is time). -CG/timn
+1 -1
View File
@@ -113,7 +113,7 @@ But in the case of success a response will be constructed directly from the file
}
response =
MHD_create_response_from_fd_at_offset (fd, sbuf.st_size, 0);
MHD_create_response_from_fd_at_offset (sbuf.st_size, fd, 0);
MHD_add_response_header (response, "Content-Type", MIMETYPE);
ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
MHD_destroy_response (response);
+1 -1
View File
@@ -47,7 +47,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
return MHD_NO;
}
response =
MHD_create_response_from_fd_at_offset (fd, sbuf.st_size, 0);
MHD_create_response_from_fd_at_offset (sbuf.st_size, fd, 0);
MHD_add_response_header (response, "Content-Type", MIMETYPE);
ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
MHD_destroy_response (response);