Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.12.1

Bug #14695 Wrong error checking with multiple valid return codes
Submitted: 2008-09-22 16:39 UTC
From: yunosh Assigned: jon
Status: Bogus Package: Net_SMTP (version 1.3.1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-09-22 16:39 UTC] yunosh (Jan Schneider)
Description: ------------ In _parseResponse(), when multiple valid return codes are allowed, the error checking returns false instead of a PEAR_Error in case of a failure.

Comments

 [2008-09-22 17:45 UTC] jon (Jon Parise)
I thought this was fixed for version 1.3.1 (revision 1.63 of SMTP.php). Which _parseResponse() call path is still returning false?
 [2008-09-22 21:21 UTC] yunosh (Jan Schneider)
Forget it. I had re-applied my patch after updating to the latest version, and since it applied cleanly I was sure it was still necessary. But it only shuffled the tests around a bit.