modified: Makefile
modified: ie.cpp
modified: mISDN.cpp
modified: socket_server.c
INSTALL_DATA = /usr/local/lcr
ifdef WITH-SOCKET
-LIBS += -lmISDN -lpthread
+LIBS += -lmisdn -lpthread
else
LIBS += -lisdnnet -lmISDN -lpthread
endif
*complete = 1;
} else
#else
- unsigned char *p = l3m->sending_complete;
+ // special case: p is not a pointer, it's a value
+ unsigned char p = l3m->sending_complete;
#endif
if (p)
*complete = 1;
mISDNsocket = socket(PF_ISDN, SOCK_RAW, ISDN_P_BASE);
if (mISDNsocket < 0)
{
- fprintf(stderr, "Cannot open mISDN due to %s. (Does your Kernel support socket based mISDN?)\n", strerror(errno));
+ fprintf(stderr, "Cannot open mISDN due to '%s'. (Does your Kernel support socket based mISDN?)\n", strerror(errno));
return(-1);
}
end_trace();
}
- apppbx->e_action_timeout = NULL;
+ apppbx->e_action_timeout = 0;
apppbx->e_rule = NULL;
apppbx->e_ruleset = NULL;