projects
/
platform
/
core
/
pim
/
contacts-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e9d788
)
fix svace issue
59/74759/1
accepted/tizen/common/20160615.193818
accepted/tizen/ivi/20160616.003306
accepted/tizen/mobile/20160616.003347
accepted/tizen/wearable/20160616.003331
submit/tizen/20160615.103002
author
Jongkyu Koo
<jk.koo@samsung.com>
Wed, 15 Jun 2016 11:22:26 +0000
(20:22 +0900)
committer
Jongkyu Koo
<jk.koo@samsung.com>
Wed, 15 Jun 2016 11:22:26 +0000
(20:22 +0900)
Change-Id: I3d6696ecbb3e80984ea8d530ecb7aa2bd911240a
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
server/db/ctsvc_db_plugin_person_helper.c
patch
|
blob
|
history
diff --git
a/server/db/ctsvc_db_plugin_person_helper.c
b/server/db/ctsvc_db_plugin_person_helper.c
index
010bcc3
..
75b9e1b
100644
(file)
--- a/
server/db/ctsvc_db_plugin_person_helper.c
+++ b/
server/db/ctsvc_db_plugin_person_helper.c
@@
-228,6
+228,10
@@
static inline const char* __ctsvc_get_image_filename(const char *src)
{
const char *dir = CTSVC_CONTACT_IMG_FULL_LOCATION;
int pos = 0;
+
+ if (NULL == dir)
+ return src;
+
while (dir[pos] == src[pos])
pos++;