Spot the Bug
Can anyone find the bug?
public static int queueEmail(bool p_testEmail,
int p_edsCampaignId,
int p_edsMailingId,
string p_htmlContent,
string p_textContent,
string p_subject,
string p_toAddr,
string p_fromAddr,
string p_fromName,
int p_edsListId,
DateTime p_queueTime)
{
return queueEmail(p_testEmail,
p_edsCampaignId,
p_edsMailingId,
p_htmlContent,
p_textContent,
p_subject,
p_toAddr,
p_fromAddr,
p_fromName,
p_edsListId -1,
p_queueTime);
}
1 Comments:
I think it's a recursive call, decrementing p_edsListId by 1 every time. In Java, I get a stack overflow error.
Post a Comment
<< Home