Skip to content

Commit 71f13db

Browse files
author
Brent Cook
committed
style updates
1 parent 8d60fdf commit 71f13db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rex/proto/http/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def connect(t = -1)
191191
# Closes the connection to the remote server.
192192
#
193193
def close
194-
if (self.conn and !self.conn.closed?)
194+
if self.conn && !self.conn.closed?
195195
self.conn.shutdown
196196
self.conn.close
197197
end

0 commit comments

Comments
 (0)