gregames 2002/10/18 14:03:06
Modified: specweb99/specweb99-2.0 mod_specweb99.c
Log:
do_post: get rid of an extra open/close sequence
Revision Changes Path
1.10 +0 -13 httpd-test/specweb99/specweb99-2.0/mod_specweb99.c
Index: mod_specweb99.c
===================================================================
RCS file: /home/cvs/httpd-test/specweb99/specweb99-2.0/mod_specweb99.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- mod_specweb99.c 17 Oct 2002 21:39:32 -0000 1.9
+++ mod_specweb99.c 18 Oct 2002 21:03:06 -0000 1.10
@@ -1210,19 +1210,6 @@
return HTTP_INTERNAL_SERVER_ERROR; /* _log_and_write() will have
* displayed a page already */
- if ((rv = apr_file_open(&f, filename, APR_READ,
- APR_OS_DEFAULT, r->pool)) != APR_SUCCESS) {
- ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
- "Could not open File '%s' (post handler)", filename);
- returnHTMLPageWithMessage(r, "Could not open file");
- return HTTP_INTERNAL_SERVER_ERROR;
- }
-
- /*
- * XXXX FIXME - close and open later cause of APR not having an fstat()
- */
- apr_file_close(f);
-
/*
* CookieString = "my_cookie=<myCookie>"
*