[xiph-commits] r8754 - trunk/oggdsf/src/tools/mod_oggchef
ozone at motherfish-iii.xiph.org
ozone at motherfish-iii.xiph.org
Fri Jan 14 01:02:04 PST 2005
Author: ozone
Date: 2005-01-14 01:02:04 -0800 (Fri, 14 Jan 2005)
New Revision: 8754
Modified:
trunk/oggdsf/src/tools/mod_oggchef/mod_oggchef.cpp
Log:
oggdsf:
* Fix mod_oggchef so it's a bit better at detecting when it's meant to be invoked
Modified: trunk/oggdsf/src/tools/mod_oggchef/mod_oggchef.cpp
===================================================================
--- trunk/oggdsf/src/tools/mod_oggchef/mod_oggchef.cpp 2005-01-14 07:20:13 UTC (rev 8753)
+++ trunk/oggdsf/src/tools/mod_oggchef/mod_oggchef.cpp 2005-01-14 09:02:04 UTC (rev 8754)
@@ -179,7 +179,12 @@
apr_uri_t *locURI = &(inRequest->parsed_uri);
// Ignore the request if it's not directed at this module
- if (strcmp(inRequest->handler, "mod_oggchef") != 0) {
+ if ( strcmp(inRequest->handler, "mod_oggchef") != 0
+ && strcmp(inRequest->handler, "oggchef") != 0) {
+#ifdef DEBUG
+ ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, inRequest,
+ "mod_oggchef ignoring request: %s", inRequest->handler);
+#endif
return DECLINED;
}
More information about the commits
mailing list