summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-10-04 01:56:01 +0200
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2013-10-04 02:05:47 +0200
commit5c23238ab7666e7acabb2dd9e4f77c338b3c8c39 (patch)
tree078a027ca57d281f043583bcb49722a324eab3d2
parent73eb38d912931891bdf858c2ab69be18e795b3f4 (diff)
Fix typo ',' -> ';' at the end of a line.
Funny, this is a correct C expression and doesn't change execution, thus it stayed unnoticed for quite a while.
-rw-r--r--openbsc/src/libmsc/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/db.c b/openbsc/src/libmsc/db.c
index 21abce9de..9a8cd886b 100644
--- a/openbsc/src/libmsc/db.c
+++ b/openbsc/src/libmsc/db.c
@@ -1015,7 +1015,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 "