projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e756641
)
pop3: fix compiler warning
author
Daniel Stenberg
<daniel@haxx.se>
Sat, 23 Feb 2013 18:44:00 +0000
(19:44 +0100)
committer
Daniel Stenberg
<daniel@haxx.se>
Sat, 23 Feb 2013 18:44:00 +0000
(19:44 +0100)
error: declaration of 'pop3' shadows a previous local
lib/pop3.c
patch
|
blob
|
history
diff --git
a/lib/pop3.c
b/lib/pop3.c
index
43171f7
..
89934b8
100644
(file)
--- a/
lib/pop3.c
+++ b/
lib/pop3.c
@@
-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";