Commit de632534 de632534b0552700c8c9dac4fcbfa8549466f5da by Alain Magloire

Patch from Sergey.

1 parent c4720131
......@@ -5,4 +5,6 @@ Dave Inglis <dinglis@qnx.com>
Jakob Kaivo <jkaivo@ndn.net>
Jeff Bailey <jbailey@gnu.org>
Sean 'Shaleh' Perry <shaleh@debian.org>
Sergey Poznyakoff <gray@Mirddin.farlep.net>
Sam Roberts <sroberts@uniserve.com>
......
2001-05-19 Alain Magloire
* AUTHORS: Update to reflect Sergey and Sam contributions.
2001-05-20 Sergey Poznyakoff
* mailbox/mbx_mboxscan.c:* Bug in mailbox/mbx_mboxscan.c made the
stuff coredump upon encountering more than one subject in the header.
* pop3d/pop3d.c: Typo.
2001-05-19 Sam Roberts
* mailbox/parse822.c: parse822 is a little smarter in the way
......
......@@ -711,8 +711,6 @@ mbox_scan0 (mailbox_t mailbox, size_t msgno, size_t *pcount, int do_notif)
}
else if (ISSUBJECT(buf))
{
char *ss = NULL;
if (mum->fhdr[H_SUBJECT]) *ss = 1;
FAST_H_SUBJECT (mum, sfield, buf, n);
}
else if (ISTO(buf))
......
......@@ -233,7 +233,7 @@ pop3d_mainloop (int infile, int outfile)
ifile = fdopen (infile, "r");
ofile = fdopen (outfile, "w");
if (!ofile || !ofile)
if (!ifile || !ofile)
pop3d_abquit (ERR_NO_OFILE);
state = AUTHORIZATION;
......