fixed bug where nill func ptr io block called for get cb at disconnect

This commit is contained in:
Jeff Hill
1995-04-26 02:49:30 +00:00
parent c27c38d531
commit b5aa0e300c

View File

@@ -1372,7 +1372,7 @@ int status)
caIOBlockFree (monix);
if (cbRequired) {
if (cbRequired && monix->usr_func) {
(*monix->usr_func) (args);
}
}
@@ -2306,7 +2306,7 @@ void *pfl
* Call user's callback
*/
LOCKEVENTS;
{
if (monix->usr_func) {
struct event_handler_args args;
args.usr = monix->usr_arg;