Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto_callbacks.c 


Log Message:
Whoopsee. This fixes population from the album

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_callbacks.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ephoto_callbacks.c  5 Sep 2006 23:24:17 -0000       1.11
+++ ephoto_callbacks.c  5 Sep 2006 23:37:17 -0000       1.12
@@ -176,7 +176,11 @@
   {
    while(fgets(text,PATH_MAX,file_ptr) != NULL)
    {
-    if (strncmp(text, "#", 1)) ecore_list_append(images, text);
+    if(strncmp(text, "#", 1)) 
+    {
+     text[strlen(text)-1] = '\0';
+     ecore_list_append(images, strdup(text));
+    }
    }
    fclose(file_ptr);
   }



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to