Re: [squid-users] after squid shut down redirector still working

From: Gonzalo Arana <gonzalo.arana@dont-contact.us>
Date: Fri, 21 Sep 2007 06:19:41 -0300

On 9/21/07, Arthur Tumanyan <arthurtumanyan@yahoo.com> wrote:
>
>
>
> Henrik Nordstrom-5 wrote:
> >
> > Probably your redirectors are broken. What redirector are you using?
> >
> > Regards
> > Henrik
> >
> >
> I think so,because the redirector is just writing ,and all this working in
> test mode only.
>
> ....
> if(fgets(p_string, LINE_MAXLEN, stdin) != NULL){
> manageOutput(p_string);//bug with this function,need check
>
> }
> //
> usleep(1000);

You should break the main loop when fgets() returns NULL.

Regards,

-- 
Gonzalo A. Arana
Received on Fri Sep 21 2007 - 03:19:43 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT