X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=appbridge.cpp;h=e94de02b02c2b2dc52786c54728c0539a9197e18;hp=efad0d9a85794f3e47c8295f8d2f582fb3cdb851;hb=eab9beeb9b4aa65314f0a422970328e47183428a;hpb=4a7489749f1d3914c0d9809e5c149309a66c347c diff --git a/appbridge.cpp b/appbridge.cpp index efad0d9..e94de02 100644 --- a/appbridge.cpp +++ b/appbridge.cpp @@ -148,13 +148,13 @@ fail: #endif #ifdef WITH_GSM_MS if (interface_out->gsm_ms) { - port = new Pgsm_bs(PORT_TYPE_GSM_MS_OUT, portname, &port_settings, interface_out); + port = new Pgsm_ms(PORT_TYPE_GSM_MS_OUT, portname, &port_settings, interface_out); } else #endif { + char *ifname = interface_out->name; #ifdef WITH_MISDN struct mISDNport *mISDNport; - char *ifname = interface_out->name; int channel = 0; struct admin_list *admin; int earlyb; @@ -199,7 +199,7 @@ fail: add_trace("interface", NULL, "%s", ifname); end_trace(); cause = 31; - goto fail + goto fail; #endif } if (!port)