projects
/
platform
/
core
/
api
/
notification.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
546c7c5
)
Add check routine whether a parameter is null
09/89109/1
author
Myungki Lee
<mk5004.lee@samsung.com>
Thu, 22 Sep 2016 07:45:27 +0000
(16:45 +0900)
committer
Myungki Lee
<mk5004.lee@samsung.com>
Thu, 22 Sep 2016 07:45:27 +0000
(16:45 +0900)
- notification_system_setting_get_dnd_allow_exceptions()
Change-Id: Ib146438e008dc47293dcd89c163937bc3e0398d5
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
src/notification_setting.c
patch
|
blob
|
history
diff --git
a/src/notification_setting.c
b/src/notification_setting.c
index
7d5b592
..
b945249
100755
(executable)
--- a/
src/notification_setting.c
+++ b/
src/notification_setting.c
@@
-760,7
+760,7
@@
EXPORT_API int notification_system_setting_get_dnd_allow_exceptions(notification
dnd_allow_exception_h dnd_allow_exception_data;
GList *list;
- if (system_setting == NULL) {
+ if (system_setting == NULL
|| value == NULL
) {
NOTIFICATION_ERR("Invalid parameter");
return NOTIFICATION_ERROR_INVALID_PARAMETER;
}