projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RSSyl: Fix some more issues reported by Coverity.
[claws.git]
/
src
/
plugins
/
rssyl
/
libfeed
/
parser.c
diff --git
a/src/plugins/rssyl/libfeed/parser.c
b/src/plugins/rssyl/libfeed/parser.c
index 1ebc412025d7805abc51972a0be936158b58946a..bb0bb0d2e965ee7a87ead79adaeddfa3934dc4da 100644
(file)
--- a/
src/plugins/rssyl/libfeed/parser.c
+++ b/
src/plugins/rssyl/libfeed/parser.c
@@
-164,7
+164,7
@@
gchar *feed_parser_get_attribute_value(const gchar **attr, const gchar *name)
{
guint i;
- if( attr == NULL
&&
name == NULL )
+ if( attr == NULL
||
name == NULL )
return NULL;
for( i = 0; attr[i] != NULL && attr[i+1] != NULL; i += 2 ) {