projects
/
platform
/
core
/
appfw
/
ui-gadget-1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f744cd
)
use thread-safe function
07/63307/1
accepted/tizen/common/20160324.084233
accepted/tizen/common/20160325.134922
accepted/tizen/ivi/20160324.131638
accepted/tizen/mobile/20160324.132919
accepted/tizen/tv/20160324.132739
accepted/tizen/wearable/20160324.132703
submit/tizen/20160323.065638
submit/tizen/20160323.235918
author
Jiwoong Im
<jiwoong.im@samsung.com>
Wed, 23 Mar 2016 06:25:00 +0000
(15:25 +0900)
committer
Jiwoong Im
<jiwoong.im@samsung.com>
Wed, 23 Mar 2016 06:25:00 +0000
(15:25 +0900)
Change-Id: I9795ca587b1f7a6a952f1e900813b4982b0bf261
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
client/ug-client.c
patch
|
blob
|
history
diff --git
a/client/ug-client.c
b/client/ug-client.c
index
c1f7b5c
..
98dece0
100644
(file)
--- a/
client/ug-client.c
+++ b/
client/ug-client.c
@@
-602,7
+602,9
@@
static int update_argument(const char *optarg, struct appdata *ad)
{
const char *key;
const char *val;
- key = strtok((char *)optarg, ",");
+ char *saveptr;
+
+ key = strtok_r((char *)optarg, ",", &saveptr);
if (!key)
return -1;