summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-10 23:20:09 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-10-11 01:48:25 +0200
commitfc0b1d64ce14a4c083c702d5e9e8b4f5ac7dc08e (patch)
tree1e48acd2e7b858c9f6f4a6bf5d283db149bc06ff
parent0451e985905985a8025e49b20821c67874cdd085 (diff)
cosmetic: db_hlr: SL3_TXT: clarify indenting
-rw-r--r--src/db_hlr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db_hlr.c b/src/db_hlr.c
index 97cd7ed..95ba150 100644
--- a/src/db_hlr.c
+++ b/src/db_hlr.c
@@ -33,9 +33,9 @@
#define LOGHLR(imsi, level, fmt, args ...) LOGP(DAUC, level, "IMSI='%s': " fmt, imsi, ## args)
#define SL3_TXT(x, stmt, idx) do { \
- const char *_txt = (const char *) sqlite3_column_text(stmt, idx); \
- if (_txt) \
- strncpy(x, _txt, sizeof(x)); \
+ const char *_txt = (const char *) sqlite3_column_text(stmt, idx);\
+ if (_txt) \
+ strncpy(x, _txt, sizeof(x)); \
x[sizeof(x)-1] = '\0'; \
} while (0)