[xiph-commits] r8098 - icecast/trunk/icecast/src
karl at motherfish-iii.xiph.org
karl at motherfish-iii.xiph.org
Mon Oct 25 11:51:46 PDT 2004
Author: karl
Date: 2004-10-25 11:51:45 -0700 (Mon, 25 Oct 2004)
New Revision: 8098
Modified:
icecast/trunk/icecast/src/source.c
Log:
add check for header when relaying from v2.0
Modified: icecast/trunk/icecast/src/source.c
===================================================================
--- icecast/trunk/icecast/src/source.c 2004-10-25 16:27:16 UTC (rev 8097)
+++ icecast/trunk/icecast/src/source.c 2004-10-25 18:51:45 UTC (rev 8098)
@@ -499,6 +499,8 @@
source->yp_public = atoi(str);
if ((str = httpp_getvar(source->parser, "icy-pub")))
source->yp_public = atoi(str);
+ if ((str = httpp_getvar(source->parser, "icy-public")))
+ source->yp_public = atoi(str);
if (str == NULL)
str = "0";
stats_event (source->mount, "public", str);
More information about the commits
mailing list