gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35861 - in libmicrohttpd/src: include microhttpd


From: gnunet
Subject: [GNUnet-SVN] r35861 - in libmicrohttpd/src: include microhttpd
Date: Wed, 3 Jun 2015 23:28:14 +0200

Author: Karlson2k
Date: 2015-06-03 23:28:14 +0200 (Wed, 03 Jun 2015)
New Revision: 35861

Modified:
   libmicrohttpd/src/include/microhttpd.h
   libmicrohttpd/src/microhttpd/response.c
Log:
microhttpd.h: print deprecation messages if MHD_create_response_from_data() is 
used

Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h      2015-06-03 21:28:05 UTC (rev 
35860)
+++ libmicrohttpd/src/include/microhttpd.h      2015-06-03 21:28:14 UTC (rev 
35861)
@@ -2005,6 +2005,7 @@
  * @deprecated use #MHD_create_response_from_buffer instead
  * @ingroup response
  */
+_MHD_DEPR_FUNC("MHD_create_response_from_data() is deprecated, use 
MHD_create_response_from_buffer()") \
 _MHD_EXTERN struct MHD_Response *
 MHD_create_response_from_data (size_t size,
                               void *data,

Modified: libmicrohttpd/src/microhttpd/response.c
===================================================================
--- libmicrohttpd/src/microhttpd/response.c     2015-06-03 21:28:05 UTC (rev 
35860)
+++ libmicrohttpd/src/microhttpd/response.c     2015-06-03 21:28:14 UTC (rev 
35861)
@@ -24,6 +24,8 @@
  * @author Christian Grothoff
  */
 
+#define MHD_NO_DEPRECATION 1
+
 #include "internal.h"
 #include "response.h"
 




reply via email to

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