summaryrefslogtreecommitdiffabout
path: root/kmicromail
authorzautrix <zautrix>2005-02-13 19:45:19 (UTC)
committer zautrix <zautrix>2005-02-13 19:45:19 (UTC)
commit6d897f7f7b8e44fa5ef825f9f9cb59ad29e728d5 (patch) (side-by-side diff)
tree5987352e17eb4762995b6f1970791657cd672599 /kmicromail
parentd92f68abdd8bdd22d25ebe6e2325ac3e8cd7add4 (diff)
downloadkdepimpi-6d897f7f7b8e44fa5ef825f9f9cb59ad29e728d5.zip
kdepimpi-6d897f7f7b8e44fa5ef825f9f9cb59ad29e728d5.tar.gz
kdepimpi-6d897f7f7b8e44fa5ef825f9f9cb59ad29e728d5.tar.bz2
ff
Diffstat (limited to 'kmicromail') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/libetpan/generic/pop3driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmicromail/libetpan/generic/pop3driver.c b/kmicromail/libetpan/generic/pop3driver.c
index 475dfcc..a4a4893 100644
--- a/kmicromail/libetpan/generic/pop3driver.c
+++ b/kmicromail/libetpan/generic/pop3driver.c
@@ -245,13 +245,13 @@ static int pop3driver_parameters(mailsession * session,
return MAIL_ERROR_INVAL;
}
static int pop3driver_login(mailsession * session,
char * userid, char * password)
{
- int r;
+ int r;int ret ;
carray * msg_tab;
struct pop3_session_state_data * data;
data = get_data(session);
switch (data->pop3_auth_type) {
@@ -268,13 +268,13 @@ static int pop3driver_login(mailsession * session,
default:
case POP3DRIVER_AUTH_TYPE_PLAIN:
r = mailpop3_login(get_pop3_session(session), userid, password);
break;
}
// LR 2 lines
- int ret = pop3driver_pop3_error_to_mail_error(r);
+ ret = pop3driver_pop3_error_to_mail_error(r);
if ( ret == MAIL_NO_ERROR )
mailpop3_list(get_pop3_session(session), &msg_tab);
// LR
return ret;
}