projects
/
platform
/
core
/
system
/
sensor-framework.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c563ad
)
fix prevent alert (change sizeof -> strlen for name string)
tizen_2.1
2.1b_release
accepted/tizen/20130520.101302
accepted/tizen_2.1/20130425.025207
submit/tizen/20130517.045219
submit/tizen_2.1/20130424.233213
author
JuHyun Kim
<jh8212.kim@samsung.com>
Mon, 22 Apr 2013 10:36:01 +0000
(19:36 +0900)
committer
JuHyun Kim
<jh8212.kim@samsung.com>
Mon, 22 Apr 2013 10:36:01 +0000
(19:36 +0900)
server/src/ccatalog.cpp
patch
|
blob
|
history
diff --git
a/server/src/ccatalog.cpp
b/server/src/ccatalog.cpp
index
31be9bc
..
ff9885a
100755
(executable)
--- a/
server/src/ccatalog.cpp
+++ b/
server/src/ccatalog.cpp
@@
-286,7
+286,7
@@
char *ccatalog::value(char *group, char *name)
desc = grp->head;
while (desc) {
- if (!strncmp(name, desc->name, s
izeof
(desc->name))) {
+ if (!strncmp(name, desc->name, s
trlen
(desc->name))) {
return desc->value;
}
desc = (desc_t*)desc->next();
@@
-305,7
+305,7
@@
char *ccatalog::value(void *handle, char *name)
desc = grp->head;
while (desc) {
- if (!strncmp(name, desc->name, s
izeof
(desc->name))) {
+ if (!strncmp(name, desc->name, s
trlen
(desc->name))) {
return desc->value;
}
desc = (desc_t*)desc->next();