Change in libosmo-abis[master]: fix compilation with --enable-e1d

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/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Jul 1 07:58:31 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/19069 )

Change subject: fix compilation with --enable-e1d
......................................................................

fix compilation with --enable-e1d

In Commit Ib81a749ae24013b17caaf5fd64ccd9acbbc3ce08 we introduced
a syntax error leading to compile failure sfor --enable-e1d ever since.

This hsan't been discovered as osmo-e1d support is not built
automatically anywhere.

Change-Id: If1f4bd9469a614470045716df4c35187ff2cc76b
---
M src/input/e1d.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/src/input/e1d.c b/src/input/e1d.c
index f7a0b18..4fc0749 100644
--- a/src/input/e1d.c
+++ b/src/input/e1d.c
@@ -256,7 +256,7 @@
 
 			if (!e1i_ts->lapd) {
 				char name[32];
-				e1inp_ts_name(name, e1i_ts);
+				e1inp_ts_name(name, sizeof(name), e1i_ts);
 				e1i_ts->lapd = lapd_instance_alloc2(1,
 					e1d_write_msg, bfd, e1inp_dlsap_up,
 					e1i_ts, &lapd_profile_abis, name);

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/19069
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: If1f4bd9469a614470045716df4c35187ff2cc76b
Gerrit-Change-Number: 19069
Gerrit-PatchSet: 3
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200701/c5fd443f/attachment.htm>


More information about the gerrit-log mailing list