aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/simplepost.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/simplepost.c')
-rw-r--r--doc/examples/simplepost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/simplepost.c b/doc/examples/simplepost.c
index 225f4122..1bf2885b 100644
--- a/doc/examples/simplepost.c
+++ b/doc/examples/simplepost.c
@@ -40,8 +40,8 @@ send_page (struct MHD_Connection *connection, const char *page)
40 40
41 41
42 response = 42 response =
43 MHD_create_response_from_data (strlen (page), (void *) page, MHD_NO, 43 MHD_create_response_from_buffer (strlen (page), (void *) page,
44 MHD_NO); 44 MHD_RESPMEM_PERSISTENT);
45 if (!response) 45 if (!response)
46 return MHD_NO; 46 return MHD_NO;
47 47