summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-16 00:48:17 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-16 00:48:17 +0000
commit5abcd32d57c490cd246af8bfd324d8c24b3195dc (patch)
treef461bc410b7441aa07f487b21ae603d9d89d2a64 /lib
parentd4060e0467e64a8ae0c800de4e53ea0af0772dd6 (diff)
* lib/net/http.rb (set_debug_output): last commit was wrong.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 33febdd7aeb..ccabbff8e39 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -366,7 +366,7 @@ module Net # :nodoc:
# http.start { .... }
#
def set_debug_output( output )
- warn 'Net::HTTP#set_debug_output called after HTTP started'
+ warn 'Net::HTTP#set_debug_output called after HTTP started' if started?
@debug_output = output
end