Enlightenment CVS committal Author : sebastid Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_desktop Modified Files: ecore_desktop_xmlame.c Log Message: Check for null before parsing begins. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_xmlame.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ecore_desktop_xmlame.c 23 Sep 2006 09:32:27 -0000 1.5 +++ ecore_desktop_xmlame.c 23 Sep 2006 10:01:17 -0000 1.6 @@ -71,7 +71,7 @@ static char * _ecore_desktop_xmlame_parse(Ecore_Desktop_Tree * tree, char *buffer) { - do + while (*buffer != '\0') { char *text; @@ -130,7 +130,6 @@ } } } - while (*buffer != '\0'); return buffer; } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs