|
@@ -120,12 +120,12 @@ MHD_basic_auth_get_username_password (struct MHD_Connection *connection,
|
|
|
* @return #MHD_YES on success, #MHD_NO otherwise
|
|
* @return #MHD_YES on success, #MHD_NO otherwise
|
|
|
* @ingroup authentication
|
|
* @ingroup authentication
|
|
|
*/
|
|
*/
|
|
|
-int
|
|
|
|
|
|
|
+enum MHD_Result
|
|
|
MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection,
|
|
MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection,
|
|
|
const char *realm,
|
|
const char *realm,
|
|
|
struct MHD_Response *response)
|
|
struct MHD_Response *response)
|
|
|
{
|
|
{
|
|
|
- int ret;
|
|
|
|
|
|
|
+ enum MHD_Result ret;
|
|
|
int res;
|
|
int res;
|
|
|
size_t hlen = strlen (realm) + strlen ("Basic realm=\"\"") + 1;
|
|
size_t hlen = strlen (realm) + strlen ("Basic realm=\"\"") + 1;
|
|
|
char *header;
|
|
char *header;
|