Search squid archive

Re: after squid shut down redirector still working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/21/07, Arthur Tumanyan <arthurtumanyan@xxxxxxxxx> 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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux