summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocoltest')
-rw-r--r--lib/custodian/protocoltest/http.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb
index 8de768d..475b335 100644
--- a/lib/custodian/protocoltest/http.rb
+++ b/lib/custodian/protocoltest/http.rb
@@ -131,7 +131,7 @@ module Custodian
@content = c.body_str
rescue Curl::Err::TimeoutError
@error = "Timed out fetching page."
- return nil
+ return false
rescue => x
@error = "Exception: #{x}"
return false
@@ -158,7 +158,7 @@ module Custodian
end
#
- # Done?
+ # All done.
#
true
end