Enlightenment CVS committal

Author  : sarajervi
Project : misc
Module  : erss

Dir     : misc/erss/src


Modified Files:
        parse.c 


Log Message:
bugfix
===================================================================
RCS file: /cvsroot/enlightenment/misc/erss/src/parse.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- parse.c     14 Jan 2004 18:57:07 -0000      1.15
+++ parse.c     14 Jan 2004 19:06:47 -0000      1.16
@@ -172,7 +172,7 @@
                }
                
                if (cfg->item_description) {
-                       if (!strcmp(cur->name, cfg->item_description)) {
+                       if (!strcmp(cur->name, cfg->item_description) && item) {
                                str = xmlNodeListGetString(doc, cur->xmlChildrenNode, 
1);
                                item->description = strdup (str);
                        }




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to