diff --git a/mailnews/base/src/nsMessenger.cpp b/mailnews/base/src/nsMessenger.cpp index 5c8a32f46ed..9d3249d46a1 100644 --- a/mailnews/base/src/nsMessenger.cpp +++ b/mailnews/base/src/nsMessenger.cpp @@ -1340,9 +1340,8 @@ nsMessenger::CopyMessages(nsIRDFCompositeDataSource *database, NS_IMETHODIMP nsMessenger::MessageServiceFromURI(const nsACString& aUri, nsIMsgMessageService **aMsgService) { - NS_ENSURE_ARG_POINTER(aMsgService); - - return GetMessageServiceFromURI(PromiseFlatCString(aUri).get(), aMsgService); + NS_ENSURE_ARG_POINTER(aMsgService); + return GetMessageServiceFromURI(PromiseFlatCString(aUri).get(), aMsgService); } NS_IMETHODIMP