increment i every time we go through the loop to avoid an infinite loop

r=sspitzer
fixes #17833
This commit is contained in:
alecf%netscape.com 2000-01-12 08:50:42 +00:00
parent 62b64995f2
commit 5eb41ebeaf

View File

@ -577,7 +577,7 @@ nsSmtpService::CreateSmtpServer(nsISmtpServer **aResult)
do {
key = "smtp";
key.Append(i);
key.Append(i++);
entry.key = key;
entry.server = nsnull;