Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

svn commit: r834500 - /httpd/httpd/trunk/modules/loggers/mod_log_config.c

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


sf at apache

Nov 10, 2009, 7:29 AM

Post #1 of 1 (128 views)
Permalink
svn commit: r834500 - /httpd/httpd/trunk/modules/loggers/mod_log_config.c

Author: sf
Date: Tue Nov 10 15:29:04 2009
New Revision: 834500

URL: http://svn.apache.org/viewvc?rev=834500&view=rev
Log:
fix off by one error

Modified:
httpd/httpd/trunk/modules/loggers/mod_log_config.c

Modified: httpd/httpd/trunk/modules/loggers/mod_log_config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_log_config.c?rev=834500&r1=834499&r2=834500&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_log_config.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_log_config.c Tue Nov 10 15:29:04 2009
@@ -520,7 +520,7 @@
if (!strcasecmp(name, a) && (value = apr_strtok(NULL, "=", &last2))) {
char *last;
value += strspn(value, " \t"); /* Move past leading WS */
- last = value + strlen(value);
+ last = value + strlen(value) - 1;
while (last >= value && apr_isspace(*last)) {
*last = '\0';
--last;

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.