projects
/
platform
/
core
/
telephony
/
tel-plugin-dbus_tapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df8af0a
)
Use TAPI_SMS_ENCODED_SCA_LEN_MAX
author
Philippe Nunes
<philippe.nunes@linux.intel.com>
Sat, 16 Mar 2013 10:36:22 +0000
(11:36 +0100)
committer
wootak.jung
<wootak.jung@samsung.com>
Sun, 24 Mar 2013 08:10:28 +0000
(17:10 +0900)
src/sms.c
patch
|
blob
|
history
diff --git
a/src/sms.c
b/src/sms.c
index
cf392db
..
65c4d1c
100644
(file)
--- a/
src/sms.c
+++ b/
src/sms.c
@@
-1032,7
+1032,7
@@
gboolean dbus_plugin_sms_notification(struct custom_data *ctx, const char *plugi
gchar *sca = NULL;
gchar *tpdu = NULL;
- sca = g_base64_encode((const guchar *)&(noti->msgInfo.sca[0]),
SMS_SMSP_ADDRESS_LEN
);
+ sca = g_base64_encode((const guchar *)&(noti->msgInfo.sca[0]),
TAPI_SMS_ENCODED_SCA_LEN_MAX
);
if (sca == NULL) {
dbg("g_base64_encode: Failed to Enocde msgInfo.sca");
sca = "";