On 9/21/07, Arthur Tumanyan <[EMAIL PROTECTED]> 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

Reply via email to