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, 1 insertions, 3 deletions
diff --git a/doc/examples/simplepost.c b/doc/examples/simplepost.c
index ea3899d1..51cf23c0 100644
--- a/doc/examples/simplepost.c
+++ b/doc/examples/simplepost.c
@@ -55,9 +55,7 @@ send_page (struct MHD_Connection *connection, const char *page)
55 struct MHD_Response *response; 55 struct MHD_Response *response;
56 56
57 57
58 response = 58 response = MHD_create_response_from_buffer_static (strlen (page), page);
59 MHD_create_response_from_buffer (strlen (page), (void *) page,
60 MHD_RESPMEM_PERSISTENT);
61 if (! response) 59 if (! response)
62 return MHD_NO; 60 return MHD_NO;
63 61