summaryrefslogtreecommitdiff
path: root/src/cts-addressbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cts-addressbook.c')
-rwxr-xr-xsrc/cts-addressbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cts-addressbook.c b/src/cts-addressbook.c
index bb7d516..c032754 100755
--- a/src/cts-addressbook.c
+++ b/src/cts-addressbook.c
@@ -28,7 +28,7 @@ static inline int cts_reset_internal_addressbook(void)
{
CTS_FN_CALL;
int ret;
- char query[CTS_SQL_MAX_LEN] = {0};
+ char query[CTS_SQL_MIN_LEN];
ret = contacts_svc_begin_trans();
retvm_if(ret, ret, "contacts_svc_begin_trans() Failed(%d)", ret);