summaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/news.c1
-rw-r--r--libsylph/pop.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libsylph/news.c b/libsylph/news.c
index e75976e..36d3b10 100644
--- a/libsylph/news.c
+++ b/libsylph/news.c
@@ -251,7 +251,6 @@ static Session *news_session_new_for_folder(Folder *folder)
251 if (ac->use_nntp_auth && ac->userid && ac->userid[0]) { 251 if (ac->use_nntp_auth && ac->userid && ac->userid[0]) {
252 userid = ac->userid; 252 userid = ac->userid;
253 if (ac->passwd && ac->passwd[0]) { 253 if (ac->passwd && ac->passwd[0]) {
254 /* TODO: check if format is correct */
255 passwd = decrypt_with_master_password(ac->passwd); 254 passwd = decrypt_with_master_password(ac->passwd);
256 } else { 255 } else {
257 passwd = input_query_password(ac->nntp_server, userid); 256 passwd = input_query_password(ac->nntp_server, userid);
diff --git a/libsylph/pop.c b/libsylph/pop.c
index 96f347e..85f3ed9 100644
--- a/libsylph/pop.c
+++ b/libsylph/pop.c
@@ -438,7 +438,6 @@ Session *pop3_session_new(PrefsAccount *account)
438 session->error_msg = NULL; 438 session->error_msg = NULL;
439 439
440 session->user = g_strdup(account->userid); 440 session->user = g_strdup(account->userid);
441 /* TODO: check format */
442 session->pass = account->passwd ? decrypt_with_master_password( 441 session->pass = account->passwd ? decrypt_with_master_password(
443 account->passwd) : account->tmp_pass ? g_strdup( 442 account->passwd) : account->tmp_pass ? g_strdup(
444 account->tmp_pass) : NULL; 443 account->tmp_pass) : NULL;