[PATCH] fix build without mISDN

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Alexander Huemer alexander.huemer at xx.vu
Wed Feb 29 13:54:22 UTC 2012


---
 appbridge.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/appbridge.cpp b/appbridge.cpp
index efad0d9..7309c80 100644
--- a/appbridge.cpp
+++ b/appbridge.cpp
@@ -152,9 +152,9 @@ fail:
 	} 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)
-- 
1.7.2.5





More information about the OpenBSC mailing list