From f9ccb2ec719299368e454fcfcbc147dd353658aa Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Sun, 18 Mar 2018 17:10:20 +0100 Subject: Remove TODO comments accordingly --- libsylph/news.c | 1 - libsylph/pop.c | 1 - src/send_message.c | 1 - 3 files changed, 3 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) if (ac->use_nntp_auth && ac->userid && ac->userid[0]) { userid = ac->userid; if (ac->passwd && ac->passwd[0]) { - /* TODO: check if format is correct */ passwd = decrypt_with_master_password(ac->passwd); } else { 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) session->error_msg = NULL; session->user = g_strdup(account->userid); - /* TODO: check format */ session->pass = account->passwd ? decrypt_with_master_password( account->passwd) : account->tmp_pass ? g_strdup( account->tmp_pass) : NULL; diff --git a/src/send_message.c b/src/send_message.c index c0a7f59..537c3c8 100644 --- a/src/send_message.c +++ b/src/send_message.c @@ -650,7 +650,6 @@ static gint send_message_smtp(PrefsAccount *ac_prefs, GSList *to_list, FILE *fp) if (ac_prefs->smtp_userid) { smtp_session->user = g_strdup(ac_prefs->smtp_userid); if (ac_prefs->smtp_passwd) { - /* TODO: check if the format is correct */ smtp_session->pass = decrypt_with_master_password( ac_prefs->smtp_passwd); } else if (ac_prefs->tmp_smtp_pass) { -- cgit v1.3