summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-18 01:20:56 +0000
committerwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-18 01:20:56 +0000
commitd97ac4405eb23ce98c49de5f1fd486755aa6a503 (patch)
tree6f8afafc315cc176c7cc1e7a359704dfd7d876bc
parentf58b440b4087ffc70bfeecd10c7457d41f82686b (diff)
downloadruby-d97ac4405eb23ce98c49de5f1fd486755aa6a503.tar.gz
ruby-d97ac4405eb23ce98c49de5f1fd486755aa6a503.tar.xz
ruby-d97ac4405eb23ce98c49de5f1fd486755aa6a503.zip
very sorry check miss.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index 2f56092cc..fcf8c006e 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -424,7 +424,7 @@ status:
options["type"].concat( options.delete("charset") )
end
- options.delete("nph") if MOD_RUBY
+ options.delete("nph") if defined?(MOD_RUBY)
if options.delete("nph") or /IIS/n.match(env_table['SERVER_SOFTWARE'])
buf.concat( (env_table["SERVER_PROTOCOL"] or "HTTP/1.0") + " " )
buf.concat( (HTTP_STATUS[options["status"]] or