X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=remote.cpp;h=e7b90099f061d3e52da5504bb1121df050b5a451;hp=e14c8e3c3e1dc660c8b1fc4a7c78486bff5ca21e;hb=03e00d7b37e755a4644739cdc5e3903d72c8e8d6;hpb=da91d7d85fe092122e35ece52695f98345738359 diff --git a/remote.cpp b/remote.cpp index e14c8e3..e7b9009 100644 --- a/remote.cpp +++ b/remote.cpp @@ -11,7 +11,7 @@ #include "main.h" -unsigned int new_remote = 0x00000001; +unsigned int new_remote = 1000; /* * constructor @@ -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); }