GNOME Bugzilla – Bug 760991
imap-smtp: EnsureCredentials returns TRUE even when smtp-password can't be found and an error is set
Last modified: 2016-05-03 17:19:58 UTC
EnsureCredentials is expected to return FALSE when the GError is set. Unfortunately, under certain kinds of failure, this doesn't hold true for the IMAP/SMTP provider. Specifically, if we failed to look up smtp-password, it will return TRUE even if an error has been set.
Created attachment 319558 [details] [review] imap-smtp: Always return FALSE on failure
Created attachment 319559 [details] [review] exchange, lastfm: Update the ret variable only when everything is done
Created attachment 319560 [details] [review] exchange, lastfm: Update the ret variable only when everything is done
Pushed to master. I tried my best. I hope I got it right. :)
(In reply to Debarshi Ray from comment #4) > Pushed to master. > > I tried my best. I hope I got it right. :) I didn't. :(
Created attachment 327247 [details] [review] lastfm: Don't forget to update the ret variable
Comment on attachment 327247 [details] [review] lastfm: Don't forget to update the ret variable Pushed to master and gnome-3-20.