mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
mantis 1659
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user