aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pop3.c b/pop3.c
index a0241c6f..fccf1e73 100644
--- a/pop3.c
+++ b/pop3.c
@@ -157,8 +157,8 @@ struct optrec *options;
if (options->flush && number < first && !options->fetchall)
ok = 0; /* no command to send here, will delete message below */
- else if (options->limit)
- ok = POP3_sendTOP(number,options->limit,socket);
+ else if (linelimit)
+ ok = POP3_sendTOP(number,linelimit,socket);
else
ok = POP3_sendRETR(number,socket);
if (ok != 0)