[xiph-commits] r18755 - icecast/trunk/icecast/src
ph3-der-loewe at svn.xiph.org
ph3-der-loewe at svn.xiph.org
Wed Jan 2 06:44:08 PST 2013
Author: ph3-der-loewe
Date: 2013-01-02 06:44:08 -0800 (Wed, 02 Jan 2013)
New Revision: 18755
Modified:
icecast/trunk/icecast/src/cfgfile.c
icecast/trunk/icecast/src/logging.c
Log:
Escape log entries in access log (close: #1916)
Modified: icecast/trunk/icecast/src/cfgfile.c
===================================================================
--- icecast/trunk/icecast/src/cfgfile.c 2012-12-23 02:35:59 UTC (rev 18754)
+++ icecast/trunk/icecast/src/cfgfile.c 2013-01-02 14:44:08 UTC (rev 18755)
@@ -698,6 +698,11 @@
current = current->next;
}
+ if (!mount->fallback_mount && (mount->fallback_when_full || mount->fallback_override))
+ {
+ WARN1("Config for mount %s contains fallback options but no fallback mount.", mount->mountname);
+ }
+
if(last)
last->next = mount;
else
Modified: icecast/trunk/icecast/src/logging.c
===================================================================
--- icecast/trunk/icecast/src/logging.c 2012-12-23 02:35:59 UTC (rev 18754)
+++ icecast/trunk/icecast/src/logging.c 2013-01-02 14:44:08 UTC (rev 18755)
@@ -159,7 +159,7 @@
user_agent = "-";
log_write_direct (accesslog,
- "%s - %s [%s] \"%s\" %d %" PRIu64 " \"%s\" \"%s\" %lu",
+ "%s - %H [%s] \"%H\" %d %" PRIu64 " \"%H\" \"%H\" %lu",
client->con->ip,
username,
datebuf,
More information about the commits
mailing list