Bug 673049 - Forwarding an .eml message causes message compose error; r=protz, a=standard8
authorJim Porter <squibblyflabbetydoo@gmail.com>
Wed, 27 Jul 2011 17:44:48 -0500
changeset 8014 122457f202097aa452e9da1ad67b69df5dee7882
parent 8013 4719e63ccf27bb9e44354777b0c0549f2b59dffb
child 8015 4463a1ea42bf169929375466925f0bf78b01864a
push id66
push usersquibblyflabbetydoo@gmail.com
push dateWed, 27 Jul 2011 22:45:22 +0000
treeherdercomm-beta@122457f20209 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersprotz, standard8
bugs673049
Bug 673049 - Forwarding an .eml message causes message compose error; r=protz, a=standard8
mailnews/compose/src/nsMsgCompose.cpp
--- a/mailnews/compose/src/nsMsgCompose.cpp
+++ b/mailnews/compose/src/nsMsgCompose.cpp
@@ -1746,17 +1746,17 @@ nsresult nsMsgCompose::CreateMessage(con
       reference.Append(NS_LITERAL_CSTRING("<"));
       reference.Append(messageId);
       reference.Append(NS_LITERAL_CSTRING(">"));
       // We're forwarding, which means we're composing a message that has no
       // references yet, so we can set the value safely
       m_compFields->SetReferences(reference.get());
     }
 
-    return rv;
+    return NS_OK;
   }
 
   char *uriList = PL_strdup(originalMsgURI);
   if (!uriList)
     return NS_ERROR_OUT_OF_MEMORY;
 
   nsCOMPtr<nsIMimeConverter> mimeConverter = do_GetService(NS_MIME_CONVERTER_CONTRACTID);