diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-07-06 15:09:32 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-07-06 19:32:23 -0500 |
commit | ee38e24040b4059ff1e47b58bfcb91c206af8b3c (patch) | |
tree | eeb90ff4c23098e5a4d650cc6c51457b8b1c7cf8 /src/util.c | |
parent | a8138acce5afcc7a3e418008cbfb97987b9c1861 (diff) | |
download | ofono-ee38e24040b4059ff1e47b58bfcb91c206af8b3c.tar.bz2 |
GSM to UTF8 should accept empty strings
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ char *convert_gsm_to_utf8(const unsigned char *text, long len, long i = 0; long res_length; - if (len == 0 || (len < 0 && !terminator)) + if (len < 0 && !terminator) goto err_out; if (len < 0) { |