Closed Bug 489835 Opened 15 years ago Closed 15 years ago

m_verifyAddress not used

Categories

(MailNews Core :: Networking: SMTP, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bienvenu, Unassigned)

Details

Attachments

(1 file, 3 obsolete files)

m_verifyAddress is not used/set, so we never do a VRFY - I'm not sure if we want to rip out the code or figure out why m_verifyAddress used to get set...
this is nsSmtpProtocol.cpp,h
If you're going to figure out why it used to get set, you'll need to pull out your Netscape 4.x tree: it was added just like it is, with nothing setting it (to anything other than nsnull), and hasn't changed since (unless it was by something that landed and got backed out again between milestones, and didn't mention verify in the commit message).
Attached patch Patch removing the variable (obsolete) — Splinter Review
Attachment #374303 - Flags: review?(bienvenu)
Comment on attachment 374303 [details] [diff] [review]
Patch removing the variable

that's an awfully big patch for such a simple change :-) could you attach just the mailnews/compose diffs?
Sorry I thought HG worked like cvs and would only do the directory I was in. Proper patch.
Attachment #374303 - Attachment is obsolete: true
Attachment #374305 - Flags: review?(bienvenu)
Attachment #374303 - Flags: review?(bienvenu)
Comment on attachment 374305 [details] [diff] [review]
the patch limited to the files :-)

you can keep going, I think - SMTP_SEND_VRFY_RESPONSE isn't needed anymore, so it can be removed, along with the code that checks it.
And SendVerifyResponse()
Attached patch more cleanups (obsolete) — Splinter Review
here you go
Attachment #374305 - Attachment is obsolete: true
Attachment #374340 - Flags: review?(bienvenu)
Attachment #374305 - Flags: review?(bienvenu)
Comment on attachment 374340 [details] [diff] [review]
more cleanups

sadly, now the numbers after 5 are wrong :-( These are useful when reading smtp logs or debugging, so it would be good to have them be right.

r=bienvenu, with that fixed.

 SMTP_RESPONSE = 0,                                  // 0
 SMTP_START_CONNECT,                                 // 1
 SMTP_FINISH_CONNECT,                                // 2
 SMTP_SEND_HELO_RESPONSE,                            // 3
 SMTP_SEND_EHLO_RESPONSE,                            // 4
-SMTP_SEND_VRFY_RESPONSE,                            // 5
 SMTP_SEND_MAIL_RESPONSE,                            // 6
 SMTP_SEND_RCPT_RESPONSE,                            // 7
 SMTP_SEND_DATA_RESPONSE,                            // 8
 SMTP_SEND_POST_DATA,                                // 9
 SMTP_SEND_MESSAGE_RESPONSE,                         // 10
 SMTP_DONE,                                          // 11
 SMTP_ERROR_DONE,                                    // 12
 SMTP_FREE,                                          // 13
Attachment #374340 - Flags: review?(bienvenu) → review+
Who should I ask sr to ?
Attachment #374340 - Attachment is obsolete: true
Attachment #374347 - Flags: review?(bienvenu)
Attachment #374347 - Flags: superreview+
Attachment #374347 - Flags: review?(bienvenu)
Attachment #374347 - Flags: review+
Comment on attachment 374347 [details] [diff] [review]
fixing review coments

I'll do sr. I'll land this for you as well - I fixed some nits around the code you changed while I was in there...
fix checked in, thx, Ludovic.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: