aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-12-26 21:23:51 +0100
committerHarald Welte <laforge@gnumonks.org>2010-12-26 21:23:51 +0100
commit5ccd3221da19276c8b3d9225033ac91bf29190af (patch)
tree929a2beb853a2ef3acbba04f465c8bc4297b63e3 /openbsc/src
parent1e1a530b1742fb8e846f25076470231e9f334c89 (diff)
[db] Fix double-quoting in libdbi backend
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/db.c b/openbsc/src/db.c
index 2051288c3..0ff97078a 100644
--- a/openbsc/src/db.c
+++ b/openbsc/src/db.c
@@ -707,8 +707,8 @@ int db_sync_subscriber(struct gsm_subscriber *subscriber)
result = dbi_conn_queryf(conn,
"UPDATE Subscriber "
"SET updated = datetime('now'), "
- "name = '%s', "
- "extension = '%s', "
+ "name = %s, "
+ "extension = %s, "
"authorized = %i, "
"tmsi = %s, "
"lac = %i "