gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14390 - in libmicrohttpd: . doc/chapters doc/examples


From: gnunet
Subject: [GNUnet-SVN] r14390 - in libmicrohttpd: . doc/chapters doc/examples
Date: Fri, 11 Feb 2011 10:16:23 +0100

Author: grothoff
Date: 2011-02-11 10:16:23 +0100 (Fri, 11 Feb 2011)
New Revision: 14390

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/doc/chapters/responseheaders.inc
   libmicrohttpd/doc/examples/responseheaders.c
Log:
mantis 1659

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2011-02-11 03:37:45 UTC (rev 14389)
+++ libmicrohttpd/ChangeLog     2011-02-11 09:16:23 UTC (rev 14390)
@@ -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

Modified: libmicrohttpd/doc/chapters/responseheaders.inc
===================================================================
--- libmicrohttpd/doc/chapters/responseheaders.inc      2011-02-11 03:37:45 UTC 
(rev 14389)
+++ libmicrohttpd/doc/chapters/responseheaders.inc      2011-02-11 09:16:23 UTC 
(rev 14390)
@@ -113,7 +113,7 @@
     }
 
   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);

Modified: libmicrohttpd/doc/examples/responseheaders.c
===================================================================
--- libmicrohttpd/doc/examples/responseheaders.c        2011-02-11 03:37:45 UTC 
(rev 14389)
+++ libmicrohttpd/doc/examples/responseheaders.c        2011-02-11 09:16:23 UTC 
(rev 14390)
@@ -47,7 +47,7 @@
         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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]