Skip to Content.
Sympa Menu

freetds - Re: Patch to fix PHP cancel problem with ASA-6

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Patch to fix PHP cancel problem with ASA-6
  • Date: 09 Sep 2002 08:10:23 +0200


>
> --- src/tds/read.c.bak 2002-09-08 20:16:58.000000000 -0400
> +++ src/tds/read.c 2002-09-08 20:59:22.000000000 -0400
> @@ -386,7 +386,7 @@
> tds->in_len=0;
> tds->in_pos=0;
> tds->last_packet=1;
> - return(-1);
> + return(len ? -1 : 0);
> }
>
> /* Set the last packet flag */
>

This patch seem useless.
Test for x < 1 is made inside loop. This code never execute..

freddy77







Archive powered by MHonArc 2.6.24.

Top of Page