From 21b7e5f359757a551349284cd18f49c131fdac13 Mon Sep 17 00:00:00 2001 From: Ben Campbell Date: Mon, 25 Feb 2019 13:26:18 +1300 Subject: [PATCH] Bug 1529792 - make nsNntpMockChannel pass loadInfo on to nsNNTPProtocol to fix crash. r=jorgk --- mailnews/news/src/nsNntpMockChannel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mailnews/news/src/nsNntpMockChannel.cpp b/mailnews/news/src/nsNntpMockChannel.cpp index 0edbee8073..f7ad4fa8da 100644 --- a/mailnews/news/src/nsNntpMockChannel.cpp +++ b/mailnews/news/src/nsNntpMockChannel.cpp @@ -317,6 +317,7 @@ nsNntpMockChannel::AttachNNTPConnection(nsNNTPProtocol &protocol) NS_ENSURE_SUCCESS(rv, rv); // Variable fun + protocol.SetLoadInfo(m_loadInfo); protocol.SetLoadGroup(m_loadGroup); protocol.SetLoadFlags(m_loadFlags); protocol.SetOwner(m_owner);