1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Cleanup: Removed stray error level log line

This commit is contained in:
Philipp Schafft 2018-11-04 11:07:37 +00:00
parent c71aa0a08f
commit f60791ad64

View File

@ -629,7 +629,6 @@ static inline void _build_headers_loop(char **ret, size_t *len, const ice_conf
if (origin) { if (origin) {
value = header->value; value = header->value;
if (!value) { if (!value) {
ICECAST_LOG_ERROR("value='%s', name='%s', origin='%s', allow='%s'", value, name, origin, allow);
if (strcasecmp(name, "Access-Control-Allow-Origin") == 0) { if (strcasecmp(name, "Access-Control-Allow-Origin") == 0) {
value = origin; value = origin;
} else if (strcasecmp(name, "Access-Control-Allow-Methods") == 0) { } else if (strcasecmp(name, "Access-Control-Allow-Methods") == 0) {