Woops. Get the right variable name

git-svn-id: file:///home/svn/framework3/trunk@13412 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-07-29 19:26:43 +00:00
parent f57799943c
commit 07df5f051f
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ begin
# Linux/Mac OS X, but is required on Windows # Linux/Mac OS X, but is required on Windows
# #
def allow_nonblock? def allow_nonblock?
avail = self.sock.respond_to?(:accept_nonblock) avail = self.sslsock.respond_to?(:accept_nonblock)
if avail and Rex::Compat.is_windows if avail and Rex::Compat.is_windows
return true return true
end end