[PATCH 2/6] Fix typo ',' -> ';' at the end of a line.

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 Chemeris alexander.chemeris at gmail.com
Fri Oct 4 00:42:25 UTC 2013


Funny, this is a correct C expression and doesn't change execution, thus it
stayed unnoticed for quite a while.
---
 openbsc/src/libmsc/db.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbsc/src/libmsc/db.c b/openbsc/src/libmsc/db.c
index 4e20e23..12d60bb 100644
--- a/openbsc/src/libmsc/db.c
+++ b/openbsc/src/libmsc/db.c
@@ -996,7 +996,7 @@ int db_subscriber_assoc_imei(struct gsm_subscriber *subscriber, char imei[GSM_IM
 	dbi_result result;
 
 	strncpy(subscriber->equipment.imei, imei,
-		sizeof(subscriber->equipment.imei)-1),
+		sizeof(subscriber->equipment.imei)-1);
 
 	result = dbi_conn_queryf(conn,
 		"INSERT OR IGNORE INTO Equipment "
-- 
1.7.9.5





More information about the OpenBSC mailing list