aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/tlsauthentication.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/tlsauthentication.c')
-rw-r--r--doc/examples/tlsauthentication.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/tlsauthentication.c b/doc/examples/tlsauthentication.c
index 3c39a0f5..57556d0b 100644
--- a/doc/examples/tlsauthentication.c
+++ b/doc/examples/tlsauthentication.c
@@ -130,8 +130,7 @@ ask_for_authentication (struct MHD_Connection *connection, const char *realm)
130 size_t slen; 130 size_t slen;
131 const char *strbase = "Basic realm="; 131 const char *strbase = "Basic realm=";
132 132
133 response = MHD_create_response_from_buffer (0, NULL, 133 response = MHD_create_response_empty (MHD_RF_NONE);
134 MHD_RESPMEM_PERSISTENT);
135 if (! response) 134 if (! response)
136 return MHD_NO; 135 return MHD_NO;
137 136