mirror of
https://github.com/curl/curl.git
synced 2026-08-24 18:23:33 +03:00
pop3: fix compiler warning
error: declaration of 'pop3' shadows a previous local
This commit is contained in:
parent
e756641040
commit
539ed6f02a
1 changed files with 1 additions and 3 deletions
|
|
@ -1061,11 +1061,9 @@ static CURLcode pop3_command(struct connectdata *conn)
|
|||
if(pop3->mailbox[0] == '\0' || conn->data->set.ftp_list_only) {
|
||||
command = "LIST";
|
||||
|
||||
if(pop3->mailbox[0] != '\0') {
|
||||
if(pop3->mailbox[0] != '\0')
|
||||
/* Message specific LIST so skip the BODY transfer */
|
||||
struct POP3 *pop3 = conn->data->state.proto.pop3;
|
||||
pop3->transfer = FTPTRANSFER_INFO;
|
||||
}
|
||||
}
|
||||
else
|
||||
command = "RETR";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue