projects
/
platform
/
core
/
account
/
account-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5551962
)
When input text is space, it's length is 0. So we doesn't set Null when space
83/112283/1
author
Jooseok Song
<seogii.song@samsung.com>
Tue, 31 Jan 2017 03:56:53 +0000
(12:56 +0900)
committer
Jooseok Song
<seogii.song@samsung.com>
Tue, 31 Jan 2017 03:56:53 +0000
(12:56 +0900)
Change-Id: I4602f6522c5e52ef6d6c99868b3fa8243ac88fba
common/src/account_db_helper.c
patch
|
blob
|
history
diff --git
a/common/src/account_db_helper.c
b/common/src/account_db_helper.c
index 542f42a8b8ed22627d2ec971ed71f032b51b3ec8..cc9ffd5249617bd9588671e09bc739f2002f7d1b 100644
(file)
--- a/
common/src/account_db_helper.c
+++ b/
common/src/account_db_helper.c
@@
-450,7
+450,7
@@
static const char *_account_query_table_column_text(account_stmt pStmt, int pos)
static void _account_db_data_to_text(const char *textbuf, char **output)
{
- if (textbuf && strlen(textbuf) > 0) {
+ if (textbuf && strlen(textbuf) >
=
0) {
if (*output) {
free(*output);
*output = NULL;