diff options
| author | Simeon Simeonov | 2018-03-18 17:10:20 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2018-03-18 17:10:20 +0100 |
| commit | f9ccb2ec719299368e454fcfcbc147dd353658aa (patch) | |
| tree | cb5861d0b5dc43103bfde86c82c52d2913be0a4b | |
| parent | 0a708b4e41e80263f8c8e4a5a399c69cec1608c6 (diff) | |
Remove TODO comments accordingly
| -rw-r--r-- | libsylph/news.c | 1 | ||||
| -rw-r--r-- | libsylph/pop.c | 1 | ||||
| -rw-r--r-- | src/send_message.c | 1 |
3 files changed, 0 insertions, 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) | |||
| 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; |
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) | |||
| 650 | if (ac_prefs->smtp_userid) { | 650 | if (ac_prefs->smtp_userid) { |
| 651 | smtp_session->user = g_strdup(ac_prefs->smtp_userid); | 651 | smtp_session->user = g_strdup(ac_prefs->smtp_userid); |
| 652 | if (ac_prefs->smtp_passwd) { | 652 | if (ac_prefs->smtp_passwd) { |
| 653 | /* TODO: check if the format is correct */ | ||
| 654 | smtp_session->pass = decrypt_with_master_password( | 653 | smtp_session->pass = decrypt_with_master_password( |
| 655 | ac_prefs->smtp_passwd); | 654 | ac_prefs->smtp_passwd); |
| 656 | } else if (ac_prefs->tmp_smtp_pass) { | 655 | } else if (ac_prefs->tmp_smtp_pass) { |
