projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d7bf54
)
gisi: fix pointer checking
author
Aki Niemi
<aki.niemi@nokia.com>
Tue, 20 Apr 2010 09:59:12 +0000
(12:59 +0300)
committer
Aki Niemi
<aki.niemi@nokia.com>
Tue, 20 Apr 2010 11:10:38 +0000
(14:10 +0300)
gisi/iter.c
patch
|
blob
|
history
diff --git
a/gisi/iter.c
b/gisi/iter.c
index
ebe8e8f
..
152b236
100644
(file)
--- a/
gisi/iter.c
+++ b/
gisi/iter.c
@@
-177,7
+177,7
@@
bool g_isi_sb_iter_get_alpha_tag(const GIsiSubBlockIter *restrict iter,
*utf8 = g_convert((const char *)ucs2, len, "UTF-8//TRANSLIT", "UCS-2BE",
NULL, NULL, NULL);
- return utf8 != NULL;
+ return
*
utf8 != NULL;
}
bool g_isi_sb_iter_get_latin_tag(const GIsiSubBlockIter *restrict iter,
@@
-197,7
+197,7
@@
bool g_isi_sb_iter_get_latin_tag(const GIsiSubBlockIter *restrict iter,
*latin = g_strndup((char *)str, len);
- return latin != NULL;
+ return
*
latin != NULL;
}
bool g_isi_sb_iter_next(GIsiSubBlockIter *iter)