summaryrefslogtreecommitdiffstats
path: root/endpoint.cpp
diff options
context:
space:
mode:
authorSuper User2007-06-27 08:23:50 +0200
committerSuper User2007-06-27 08:23:50 +0200
commite9daaa4ef7ee895e6a8610ebb2166cc99c891a4e (patch)
tree147c8b74efd8830dc37be6a656944ce6d075a1e7 /endpoint.cpp
parentbackup (diff)
downloadlcr-e9daaa4ef7ee895e6a8610ebb2166cc99c891a4e.tar.gz
lcr-e9daaa4ef7ee895e6a8610ebb2166cc99c891a4e.tar.xz
lcr-e9daaa4ef7ee895e6a8610ebb2166cc99c891a4e.zip
backup
Diffstat (limited to 'endpoint.cpp')
-rw-r--r--endpoint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/endpoint.cpp b/endpoint.cpp
index 39cba95..1e66143 100644
--- a/endpoint.cpp
+++ b/endpoint.cpp
@@ -69,7 +69,7 @@ Endpoint::Endpoint(int port_id, int call_id)
if (port)
{
if ((port->p_type&PORT_CLASS_mISDN_MASK) == PORT_CLASS_mISDN_DSS1)
- earlyb = port->mISDNport->is_earlyb;
+ earlyb = ((class PmISDN *)port)->p_m_mISDNport->is_earlyb;
if (!portlist_new(port_id, port->p_type, earlyb))
{
PERROR("no mem for portlist, exitting...\n");
@@ -170,7 +170,7 @@ struct port_list *Endpoint::portlist_new(unsigned long port_id, int port_type, i
/* link to call or port */
portlist->port_id = port_id;
portlist->port_type = port_type;
- portlist->earlyb = earlyb;
+ portlist->early_b = earlyb;
return(portlist);
}