commit f6c78e2e11d179c057d134e60d810b542f714ea2
parent 3800d3820b0158c1a8cab81ac37064d0695c71b9
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 15 Jul 2015 13:05:12 +0000
-avoid deprecation
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/examples/post_example.c b/src/examples/post_example.c
@@ -624,7 +624,7 @@ create_response (void *cls,
(void *) METHOD_ERROR,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_response (connection,
- MHD_HTTP_METHOD_NOT_ACCEPTABLE,
+ MHD_HTTP_NOT_ACCEPTABLE,
response);
MHD_destroy_response (response);
return ret;
@@ -747,4 +747,3 @@ main (int argc, char *const *argv)
MHD_stop_daemon (d);
return 0;
}
-