From aba3f9502671e78e448202cd0d7aef0e2ad2f2bf Mon Sep 17 00:00:00 2001 From: kris <> Date: Tue, 11 Nov 2008 04:01:21 +0000 Subject: [PATCH] an empty string is better than a nil type-error (found by playing around, not from a faulty module or whathaveyou) git-svn-id: file:///home/svn/framework3/trunk@5878 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/proto/smb/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rex/proto/smb/exceptions.rb b/lib/rex/proto/smb/exceptions.rb index 4c180e4356..503df400e2 100644 --- a/lib/rex/proto/smb/exceptions.rb +++ b/lib/rex/proto/smb/exceptions.rb @@ -835,11 +835,11 @@ end class LoginError < SimpleClientError def to_s - "Login Failed: " + self.source + "Login Failed: " + self.source.to_s end end end end end -end \ No newline at end of file +end