Bug 673049 - Forwarding an .eml message causes message compose error; r=protz
authorJim Porter <squibblyflabbetydoo@gmail.com>
Thu, 21 Jul 2011 21:14:18 -0500
changeset 8154 bfee0c972a27570a1b66c5fd3bf1356d99db42ea
parent 8153 1bf028c0289ba6d4f2e067c7f0ac5fb4cd5616db
child 8155 c1ef44a22eb2f828b5e869263e20e061ae3b3566
push id6269
push usersquibblyflabbetydoo@gmail.com
push dateFri, 22 Jul 2011 02:51:25 +0000
treeherdercomm-central@bfee0c972a27 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersprotz
bugs673049
Bug 673049 - Forwarding an .eml message causes message compose error; r=protz
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);