summaryrefslogtreecommitdiff
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
commitaa6fa0c75dff68dbe7a66b2fa1add778a050fb5d (patch)
tree6f8afafc315cc176c7cc1e7a359704dfd7d876bc
parentad813911abac7bee0c86dfa627109abe97ae8ee2 (diff)
very sorry check miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 2f56092cc48..fcf8c006e58 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