fix warning

This commit is contained in:
sspitzer%netscape.com 1999-07-15 00:28:01 +00:00
parent 6b837eb2d2
commit 1e839d10be

View File

@ -613,7 +613,7 @@ nsresult nsMsgCompFields::AddForwardURL(const char* url)
{
NS_ASSERTION(url && *url, "empty url");
if (!url || !*url)
return -1;
return NS_ERROR_NULL_POINTER;
if (m_numforward >= m_maxforward) {
m_maxforward += 10;