Change in osmo-msc[master]: libmsc: struct smsc: drop 'const' qualifier from bind_addr

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Oct 26 18:42:57 UTC 2021


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/25950 )

Change subject: libmsc: struct smsc: drop 'const' qualifier from bind_addr
......................................................................

libmsc: struct smsc: drop 'const' qualifier from bind_addr

This pointer holds an address of a string allocated on heap.

Change-Id: I50145b57494aaccd4793f7b0ed2f65a6641db929
Related: CID#240711
---
M src/libmsc/smpp_smsc.h
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libmsc/smpp_smsc.h b/src/libmsc/smpp_smsc.h
index b26d011..4c0d701 100644
--- a/src/libmsc/smpp_smsc.h
+++ b/src/libmsc/smpp_smsc.h
@@ -110,7 +110,7 @@
 	struct llist_head esme_list;
 	struct llist_head acl_list;
 	struct llist_head route_list;
-	const char *bind_addr;
+	char *bind_addr;
 	uint16_t listen_port;
 	char system_id[SMPP_SYS_ID_LEN+1];
 	int accept_all;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/25950
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I50145b57494aaccd4793f7b0ed2f65a6641db929
Gerrit-Change-Number: 25950
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
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/20211026/c8af5045/attachment.htm>


More information about the gerrit-log mailing list