POP3: detect when LIST returns no mails
authorDaniel Stenberg <daniel@haxx.se>
Tue, 29 Nov 2011 12:43:46 +0000 (13:43 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 29 Nov 2011 12:43:46 +0000 (13:43 +0100)
commitaf6466643416fd36fea4205d2d7a02a9292e2858
treef1b911a54928389f2096105e539811fb0cd36b41
parent2d72489f0fc2ef6e0f4de88766acfef286605c6a
POP3: detect when LIST returns no mails

By making sure the function can detect an "end of body" sequence
immediately on the first line, test 811 is now enabled.
lib/pop3.c
lib/pop3.h
tests/data/DISABLED