Bug 673049 - Forwarding an .eml message causes message compose error; r=protz, a=standard8
authorJim Porter <squibblyflabbetydoo@gmail.com>
Wed, 27 Jul 2011 17:36:32 -0500
changeset 8314 5ae46961864a8973720994f68a6abcdbb23ec397
parent 8313 aaa0212de46822f8152aff2d641c6ef40d4f032a
child 8315 43b778218bea3bf03a07066d204cae75bb461ce3
push id84
push userbugzilla@standard8.plus.com
push dateTue, 16 Aug 2011 21:25:04 +0000
treeherdercomm-beta@6970c86be3cd [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
@@ -1747,17 +1747,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);