Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore_path.c 


Log Message:
Return 0 on error.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_path.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ecore_path.c        2 Nov 2007 11:55:27 -0000       1.22
+++ ecore_path.c        4 Nov 2007 13:13:02 -0000       1.23
@@ -35,6 +35,7 @@
    if (!group_list)
      {
        group_list = ecore_list_new();
+       if (!group_list) return 0;
        lastid = 0;
      }
    else
@@ -43,7 +44,7 @@
 
        group = __ecore_path_group_find(group_name);
        if (group)
-         return -1;
+         return 0;
 
        last = ecore_list_last_goto(group_list);
        lastid = last->id;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to