projects
/
platform
/
core
/
telephony
/
call-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836074e
)
Fix calling source code of sec_warn() for glib 2.78.4
99/307899/1
accepted/tizen/unified/20240322.174350
accepted/tizen/unified/dev/20240620.005828
accepted/tizen/unified/x/20240326.073744
author
JinWang An
<jinwang.an@samsung.com>
Thu, 14 Mar 2024 05:38:48 +0000
(14:38 +0900)
committer
JinWang An
<jinwang.an@samsung.com>
Thu, 14 Mar 2024 05:38:48 +0000
(14:38 +0900)
Change-Id: I17da3677f48ee72bd444ef5ff1768b977b59249d
Signed-off-by: JinWang An <jinwang.an@samsung.com>
common/src/callmgr-util.c
patch
|
blob
|
history
diff --git
a/common/src/callmgr-util.c
b/common/src/callmgr-util.c
index 03d7aee5503d5789dcf85ae722379731e0258399..77bfcfdade75f1d635f2560671b257647397b812 100644
(file)
--- a/
common/src/callmgr-util.c
+++ b/
common/src/callmgr-util.c
@@
-789,7
+789,7
@@
int _callmgr_util_extract_call_number_without_cli(const char *orig_num, char **c
else if (pst[i] == 'w') tmp = strtok_r(pst, "w", &ptr);
else if (pst[i] == ';') tmp = strtok_r(pst, ";", &ptr);
else if (pst[i] == ',') tmp = strtok_r(pst, ",", &ptr);
- sec_warn("token : %s", tmp);
+ sec_warn("token : %s", tmp
? tmp : "NULL"
);
*call_num = g_strdup(tmp);
g_free(dup_orig_num);
return 0;