[tpop3d-discuss] tpop3d and Eudora problem
Chris Lightfoot
chris at ex-parrot.com
Mon, 5 Aug 2002 19:48:38 +0100
On Tue, Aug 06, 2002 at 02:07:13AM +0900, ZUKERAN, shin wrote:
> I created the tiny patch. My problem was solved.
Oops-- you are correct, this is broken.
> However, I do not know whether this correction is right.
> Is there any advice?
>
> diff -uNr tpop3d-1.4.2/connection.c tpop3d-1.4.2.new/connection.c
> --- tpop3d-1.4.2/connection.c Wed Jun 26 05:28:00 2002
> +++ tpop3d-1.4.2.new/connection.c Tue Aug 6 01:41:09 2002
> @@ -256,7 +256,7 @@
>
> /* now update the buffer */
> memmove(c->buffer, q, c->buffer + c->bufferlen - q);
> - c->p = c->buffer;
> + c->p -= (q - c->buffer);
>
> return pc;
> }
This patch looks correct to me. I have incorporated it in
the upcoming version of tpop3d, which is available in CVS
-- see a previous mailing list posting. Thank you.
--
``Avoid all needle drugs. The only dope worth shooting is Richard Nixon.''
(Abbie Hoffman)