30 Dec, 2006, Guest wrote in the 1st comment:
Votes: 0
If you have been getting strange descriptor errors in your logs pertaining to your IMC2 connection using the Freedom client, this is a quick fix.

In imc.c, function imc_read_socket, locate:
else
{
imclog( "%s: Descriptor error on #%d: %s", __FUNCTION__, this_imcmud->desc, strerror( iErr ) );
return FALSE;
}


And change that to:
else if( nRead == -1 )
{
imclog( "%s: Descriptor error on #%d: %s", __FUNCTION__, this_imcmud->desc, strerror( iErr ) );
return FALSE;
}


Apparently for whatever reason it is possible for nRead to be something below -1 which produces cryptic errors that aren't explained.
0.0/1