[squid-users] authenticate_program - again

From: Mike Everest <mike@dont-contact.us>
Date: Fri, 30 Mar 2001 17:11:48 +1000

Hi Folks,

i don't understand what is happening here....

in my authenticate_program, i have this line:

while(fgets(buf, 256, stdin) != NULL)
{
        //do the stuff
}

that all works fine when i run interactively... but when i set squid to use
it, according to my internal authenticator logging, it just jumps riht past
there as if(fgets(buf, 256, stdin) == NULL)

could anyone shed some light on this... please?

thanks and regards,

Mike.
Received on Fri Mar 30 2001 - 00:13:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:02 MST