From: Juho Vähä-Herttua Date: Sun, 14 Apr 2013 19:05:31 +0000 (+0300) Subject: Add some more logging to authentication X-Git-Tag: upstream/0.9.0~4^2~21 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=88631dc4d381e81cca5e7b627ebc5d56b6827537;p=deb_shairplay.git Add some more logging to authentication --- 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!"); } }