diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-12-26 21:23:51 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-12-26 21:23:51 +0100 |
commit | 5ccd3221da19276c8b3d9225033ac91bf29190af (patch) | |
tree | 929a2beb853a2ef3acbba04f465c8bc4297b63e3 /openbsc/src | |
parent | 1e1a530b1742fb8e846f25076470231e9f334c89 (diff) |
[db] Fix double-quoting in libdbi backend
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/db.c | 4 |
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 " |