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
Tue Jun 30 17:35:19 UTC 2020


laforge has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/69/19069/1

diff --git a/src/input/e1d.c b/src/input/e1d.c
index 617c747..627fc52 100644
--- a/src/input/e1d.c
+++ b/src/input/e1d.c
@@ -257,7 +257,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: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200630/b52bcae1/attachment.htm>


More information about the gerrit-log mailing list