[svn-commits] twilson: trunk r111500 - /trunk/main/http.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Mar 27 17:10:25 CDT 2008
Author: twilson
Date: Thu Mar 27 17:10:25 2008
New Revision: 111500
URL: http://svn.digium.com/view/asterisk?view=rev&rev=111500
Log:
Fix another little http problem. In making it match coding guidelines, a comparison was dropped
Modified:
trunk/main/http.c
Modified: trunk/main/http.c
URL: http://svn.digium.com/view/asterisk/trunk/main/http.c?view=diff&rev=111500&r1=111499&r2=111500
==============================================================================
--- trunk/main/http.c (original)
+++ trunk/main/http.c Thu Mar 27 17:10:25 2008
@@ -186,7 +186,7 @@
mtype = ftype2mtype(ftype, wkspace, sizeof(wkspace));
/* Cap maximum length */
- if ((len = strlen(uri) + strlen(ast_config_AST_DATA_DIR) + strlen("/static-http/") + 5)) {
+ if ((len = strlen(uri) + strlen(ast_config_AST_DATA_DIR) + strlen("/static-http/") + 5) > 1024) {
goto out403;
}
More information about the svn-commits
mailing list