Home | Directory | Search | 12 unapplied patches, 13 total | 7 programs
Haberdasher
demiurgo.org

Patch #3 (by zoso)

Other Unapplied Patches for 'JabberPy'

None

Applied Patches for 'JabberPy'

None

Basic Info

JabberPy
Fix authentication bug
obsolete
Fix authentication bug

Patch History

unknown 784 Bytes 28 Aug, 2006 (17:29)
Initial version

Patch Text

*** /usr/lib/python2.1/site-packages/jabber.py.orig     2003-06-10 14:35:04.000000000 +0100
--- /usr/lib/python2.1/site-packages/jabber.py  2003-06-10 14:35:20.000000000 +0100
***************
*** 589,594 ****
--- 589,596 ----
              
          iq_result = self.SendAndWaitForResponse(auth_set_iq)
  
+         if iq_result is None:
+              return False
          if iq_result.getError() is None:
              return True
          else:
***************
*** 596,603 ****
             self.lastErrCode = iq_result.getErrorCode()
             # raise error(iq_result.getError()) ?
             return False
-         if iq_result is None:
-              return False
          return True
  
      ## Roster 'helper' func's - also see the Roster class ##
--- 598,603 ----