From 2dd0167e45cf256cee53a1709719926ed0f059b0 Mon Sep 17 00:00:00 2001 From: konn Date: Sat, 1 Jul 2006 05:33:03 +0000 Subject: [PATCH] * change writting. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@1298 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- src/mod_chxj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod_chxj.c b/src/mod_chxj.c index b27c1614..e94f10f2 100644 --- a/src/mod_chxj.c +++ b/src/mod_chxj.c @@ -761,7 +761,8 @@ chxj_input_filter(ap_filter_t* f, obb = apr_brigade_create(r->pool, c->bucket_alloc); content_type = (char*)apr_table_get(r->headers_in, "Content-Type"); - if (content_type && strncasecmp("multipart/form-data", content_type, 19) == 0) { + if (content_type + && strncasecmp("multipart/form-data", content_type, 19) == 0) { DBG(r, "detect multipart/form-data"); ap_remove_input_filter(f); return ap_get_brigade(f->next, bb, mode, block, readbytes); -- 2.11.0