Hi Ace,
This is the offending part. It prints an "OK" then goes on to print
another "OK *** octets".
> #else
> okay();
> #endif
In this case, it might be better to delete the following part and turn
on MAKE_NETSCAPE_WORK:
> /* okay(); */
> puts("+OK ");
> put(strnum,fmt_ulong(strnum,m[i].size));
> puts(" octets\r\n");
cheers,
mengkuan
Ace Suares wrote:
>
> > Hi Ace,
> >
> > I am using debian and I ran across the same problem previously. What
> > happened was that in qmail-pop3d.c, there were duplicate code (in the
> > pop3_top function) after patching that printed the "+OK *** octets"
> > lines twice. I removed the duplicate lines and recompiled qmail-pop3d.
> > It works fine after that.
>
> Hi Meng,
>
> Thanks for the tip, but I haven't found the duplicated lines yet... I
> think this is the offending part:
>
> #ifdef MAKE_NETSCAPE_WORK /* Based on a patch by [EMAIL PROTECTED] */
> puts("+OK ");
> foo[fmt_uint(foo,m[i].size)] = 0;
> puts(foo);
>
> puts(" octets \r\n");
> flush();
> #else
> okay();
> #endif
>
> /* okay(); */
> puts("+OK ");
> put(strnum,fmt_ulong(strnum,m[i].size));
> puts(" octets\r\n");
> flush();
> substdio_fdbuf(&ssmsg,read,fd,ssmsgbuf,sizeof(ssmsgbuf));
> blast(&ssmsg,limit);
> close(fd);
> }
>
> but... I have Make_Netscape_work NOT specified in the makefile...
>
> Greetings,
>
> Ace
>
> | Ace Suares, Internet Consultancy and Training
> | Keizersgracht 132, 1015 CW AMSTERDAM, NL
> | phone: 06 557 06 554 (+31 6 557 06 554)
> | fax: 08 48 707 705 (+31 84 870 770 5)
> | mailto:[EMAIL PROTECTED] PGP Key idea: 0x39B81FE5
> | http://www.suares.com