Bug 861767 - Implement nsIMsgProtocolinfo::GetRequiresUsername for RSS. r=Neil
authoraceman <acelists@atlas.sk>
Mon, 03 Jun 2013 08:39:42 -0400
changeset 15701 7ecbbc9bd30d9f0ea2d33a767e0c510ef866aa39
parent 15700 f466188584cec658fbb4f9a1134acc0d1d7f1a31
child 15702 5ccef067e4d77662b43d6135b213579fd5736a4c
push id942
push userbugzilla@standard8.plus.com
push dateMon, 05 Aug 2013 19:15:38 +0000
treeherdercomm-beta@0e1a1c4a9f0c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil
bugs861767
Bug 861767 - Implement nsIMsgProtocolinfo::GetRequiresUsername for RSS. r=Neil
mailnews/local/src/nsRssService.cpp
--- a/mailnews/local/src/nsRssService.cpp
+++ b/mailnews/local/src/nsRssService.cpp
@@ -51,17 +51,19 @@ NS_IMETHODIMP nsRssService::SetDefaultLo
 
 NS_IMETHODIMP nsRssService::GetServerIID(nsIID * *aServerIID)
 {
     return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsRssService::GetRequiresUsername(bool *aRequiresUsername)
 {
-    return NS_ERROR_NOT_IMPLEMENTED;
+    NS_ENSURE_ARG_POINTER(aRequiresUsername);
+    *aRequiresUsername = false;
+    return NS_OK;
 }
 
 NS_IMETHODIMP nsRssService::GetPreflightPrettyNameWithEmailAddress(bool *aPreflightPrettyNameWithEmailAddress)
 {
     return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP nsRssService::GetCanDelete(bool *aCanDelete)