You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/09/23 23:17:32 UTC
svn commit: r818270 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
Author: trawick
Date: Wed Sep 23 21:17:31 2009
New Revision: 818270
URL: http://svn.apache.org/viewvc?rev=818270&view=rev
Log:
fix r818234
include apr_version.h to let us use the APR 1.x+ function
to parse apr_off_t, and fix the syntax error pointed out by
RĂ¼diger this exposes
Modified:
httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c?rev=818270&r1=818269&r2=818270&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c Wed Sep 23 21:17:31 2009
@@ -21,6 +21,7 @@
#include "apr_hash.h"
#include "apr_lib.h"
#include "apr_tables.h"
+#include "apr_version.h"
#include "http_main.h"
#include "httpd.h"
#include "http_config.h"
@@ -364,7 +365,7 @@
return 1;
}
#else
- if (APR_SUCCESS != apr_strtoff(&conf->max_request_len, arg, &errp, 10) || *errp) {
+ if (APR_SUCCESS != apr_strtoff(val, arg, &errp, 10) || *errp) {
return 1;
}
#endif