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:
579cf00
)
Fix a bug on notifciation_get_text.
author
Kyuho Jo
<kyuho.jo@samsung.com>
Tue, 26 May 2015 08:02:48 +0000
(17:02 +0900)
committer
Kyuho Jo
<kyuho.jo@samsung.com>
Tue, 26 May 2015 08:02:48 +0000
(17:02 +0900)
Change-Id: I05155758ace4801d7c67af1e829da1633ac22af8
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
src/notification.c
patch
|
blob
|
history
diff --git
a/src/notification.c
b/src/notification.c
index
20bcb11
..
ed70e47
100644
(file)
--- a/
src/notification.c
+++ b/
src/notification.c
@@
-792,7
+792,7
@@
EXPORT_API int notification_get_text(notification_h noti,
translated_str = NULL;
}
- strncpy(buf_str,
sizeof(buf_str), translated_str
);
+ strncpy(buf_str,
translated_str, sizeof(buf_str)
);
int src_len = strlen(result_str);
int max_len = NOTI_TEXT_RESULT_LEN - src_len - 1;