Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/lib


Modified Files:
        libevfs.c 


Log Message:
Pass the command we're dealing with back to the client

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/lib/libevfs.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- libevfs.c   7 Oct 2005 11:01:27 -0000       1.6
+++ libevfs.c   8 Oct 2005 01:53:25 -0000       1.7
@@ -64,7 +64,9 @@
                                   /*Execute callback if registered..*/
                                   if (conn->callback_func) {
                                           evfs_event* ev = conn->prog_event;
+                                          
                                           conn->prog_event = NULL; /*Detach 
this event from the conn.  Client is responsible for it now*/
+
                                                                      
                                           (*conn->callback_func)(ev);
                                   } else {
@@ -73,7 +75,7 @@
                                   
                           }
                   } else {
-                          printf(stderr, "EVFS: Could not find connection for 
clientId\n");
+                          fprintf(stderr, "EVFS: Could not find connection for 
clientId\n");
                   }
           }
    }
@@ -152,7 +154,7 @@
                /*Only one file, therefore just assign our ref to the path 
structure*/
                path->files = malloc(sizeof(evfs_filereference*));
                path->files[0] = ref;
-               path->num_files = 0;
+               path->num_files = 1;
 
                return path;
        }




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to