From 937e49378c7093d308d95206f679d10649c31d7c Mon Sep 17 00:00:00 2001 From: nmonkee Date: Thu, 22 Nov 2012 09:57:08 +0000 Subject: [PATCH] Syntax fix Doh, missed one. --- lib/rex/socket/comm/local.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/socket/comm/local.rb b/lib/rex/socket/comm/local.rb index c35a0cb741..3552dee3cd 100644 --- a/lib/rex/socket/comm/local.rb +++ b/lib/rex/socket/comm/local.rb @@ -401,7 +401,7 @@ class Rex::Socket::Comm::Local if ret and ret.length < 4 raise Rex::ConnectionProxyError.new(host, port, type, "Failed to receive a complete response from the proxy"), caller end - case + if ret =~ /NI_RTERR/ case ret when /timed out/