projects
/
platform
/
adaptation
/
emulator
/
vmodem-daemon-emulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
190555f
)
fix build error on lib/libsms/sms_tool.c
author
Sooyoung Ha
<yoosah.ha@samsung.com>
Wed, 9 Jan 2013 16:11:48 +0000
(
01:11
+0900)
committer
Sooyoung Ha
<yoosah.ha@samsung.com>
Wed, 9 Jan 2013 16:11:48 +0000
(
01:11
+0900)
lib/libsms/sms_tool.c
patch
|
blob
|
history
diff --git
a/lib/libsms/sms_tool.c
b/lib/libsms/sms_tool.c
index
f7c2e7d
..
b3c2dd5
100644
(file)
--- a/
lib/libsms/sms_tool.c
+++ b/
lib/libsms/sms_tool.c
@@
-525,7
+525,6
@@
int MsgConvertGSM7bitToUTF8(unsigned char *pDestText, int maxLength, const unsi
ucs2Length = MsgConvertGSM7bitToUCS2((unsigned char*)pUCS2Text, maxUCS2Length * sizeof(unsigned short), pSrcText, srcTextLen);
if(ucs2Length < 0) {
fprintf(stderr, "MsgConvertGSM7bitToUTF8: UCS2 to GSM7bit Failed as text length is 0\n");
- *rawdata_len = index;
return ucs2Length;
}
memcpy(pDestText, pUCS2Text, ucs2Length);