From 4b2a6dbf60da3caa1bec8d40886f8330dae3da40 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 24 Oct 2007 03:52:50 +0000 Subject: [PATCH] Backport 58618: Issue 1307 by Derek Shockey, fix the same bug for RCPT. --- Lib/smtpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/smtpd.py b/Lib/smtpd.py index 4aa34763ecf..e09774f2d9b 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -237,7 +237,7 @@ def smtp_RCPT(self, arg): if not self.__mailfrom: self.push('503 Error: need MAIL command') return - address = self.__getaddr('TO:', arg) + address = self.__getaddr('TO:', arg) if arg else None if not address: self.push('501 Syntax: RCPT TO:
') return