#75 p910nd sometimes hangs after connection

open
nobody
etherboot (51)
5
2007-07-24
2007-07-24
Anonymous
No

p910nd version 0.9
Log says connection established, then the program stops accepting TCP traffic and locks up. Debugging shows that the "f" variable is uninitialized. Initializing f to NULL fixes the problem for me. I'd suggest in server() set f to NULL in the loop just before the while() testing for connection, then fclose(f) after printing that connection. That survives printer disconnection/reconnection better than leaving the file open. -- n2rjt@yahoo.com

Discussion


Log in to post a comment.