error: declaration of 'pop3' shadows a previous local
This commit is contained in:
Daniel Stenberg 2013-02-23 19:44:00 +01:00
Родитель e756641040
Коммит 539ed6f02a
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -1061,12 +1061,10 @@ static CURLcode pop3_command(struct connectdata *conn)
if(pop3->mailbox[0] == '\0' || conn->data->set.ftp_list_only) { if(pop3->mailbox[0] == '\0' || conn->data->set.ftp_list_only) {
command = "LIST"; command = "LIST";
if(pop3->mailbox[0] != '\0') { if(pop3->mailbox[0] != '\0')
/* Message specific LIST so skip the BODY transfer */ /* Message specific LIST so skip the BODY transfer */
struct POP3 *pop3 = conn->data->state.proto.pop3;
pop3->transfer = FTPTRANSFER_INFO; pop3->transfer = FTPTRANSFER_INFO;
} }
}
else else
command = "RETR"; command = "RETR";