From 88631dc4d381e81cca5e7b627ebc5d56b6827537 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Juho=20Va=CC=88ha=CC=88-Herttua?= Date: Sun, 14 Apr 2013 22:05:31 +0300 Subject: [PATCH] Add some more logging to authentication --- src/lib/raop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/raop.c b/src/lib/raop.c index f3cc399..e5c6539 100644 --- a/src/lib/raop.c +++ b/src/lib/raop.c @@ -167,8 +167,9 @@ conn_request(void *ptr, http_request_t *request, http_response_t **response) res = http_response_init("RTSP/1.0", 401, "Unauthorized"); http_response_add_header(res, "WWW-Authenticate", authstr); free(authstr); + logger_log(conn->raop->logger, LOGGER_DEBUG, "Authentication unsuccessful, sending Unauthorized"); } else { - logger_log(conn->raop->logger, LOGGER_DEBUG, "AUTHENTICATION SUCCESS!"); + logger_log(conn->raop->logger, LOGGER_DEBUG, "Authentication successful!"); } } -- 2.34.1