X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=remote.cpp;fp=remote.cpp;h=e7b90099f061d3e52da5504bb1121df050b5a451;hp=8d7c0bfd8527d4b1cde30af0bae1697a4b1ee44e;hb=74a7fe54a81bb7e996ea45203bbc8cc0ff6b8dda;hpb=d928442c511fbe7a0d0d0f9e701412b9b494457c diff --git a/remote.cpp b/remote.cpp index 8d7c0bf..e7b9009 100644 --- a/remote.cpp +++ b/remote.cpp @@ -167,8 +167,7 @@ void Premote::message_remote(int message_type, union parameter *param) FATAL("Incoming call but already got an endpoint.\n"); if (!(epoint = new Endpoint(p_serial, 0))) FATAL("No memory for Endpoint instance\n"); - if (!(epoint->ep_app = new DEFAULT_ENDPOINT_APP(epoint, 0))) //incoming - FATAL("No memory for Endpoint Application instance\n"); + epoint->ep_app = new_endpointapp(epoint, 0, p_m_mISDNport->ifport->interface->app); //incoming epointlist_new(epoint->ep_serial); }