Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/bin
Modified Files:
evfs_main.c evfs_server_handle.c
Log Message:
Samba
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_main.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- evfs_main.c 9 Oct 2005 07:42:17 -0000 1.14
+++ evfs_main.c 11 Oct 2005 00:35:09 -0000 1.15
@@ -124,8 +124,9 @@
/*True == command finished*/
if (evfs_process_incoming_command(client->prog_command, msg)) {
evfs_handle_command(client, client->prog_command);
+
- evfs_cleanup_command(client->prog_command); /*CLEANUP MEMORY HERE*/
+ evfs_cleanup_command(client->prog_command);
client->prog_command = NULL;
}
@@ -161,7 +162,6 @@
evfs_handle_file_remove_command(client,command);
break;
case EVFS_CMD_FILE_STAT:
- printf("Stat file stub\n");
evfs_handle_file_stat_command(client,command);
break;
case EVFS_CMD_LIST_DIR:
@@ -237,7 +237,7 @@
}
}
} else {
- printf(stderr, "EVFS: Could not location plugin directory
'%s'\n", PACKAGE_PLUGIN_DIR "/plugins/file");
+ fprintf(stderr, "EVFS: Could not location plugin directory
'%s'\n", PACKAGE_PLUGIN_DIR "/plugins/file");
exit(1);
}
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_server_handle.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evfs_server_handle.c 9 Oct 2005 07:42:17 -0000 1.6
+++ evfs_server_handle.c 11 Oct 2005 00:35:09 -0000 1.7
@@ -68,11 +68,11 @@
void evfs_handle_file_stat_command(evfs_client* client, evfs_command* command)
{
printf ("At file stat handler\n");
-
+ printf("Looking for plugin for '%s'\n",
command->file_command.files[0]->plugin_uri);
evfs_plugin* plugin =
evfs_get_plugin_for_uri(command->file_command.files[0]->plugin_uri);
if (plugin) {
printf("Pointer here: %p\n", plugin->functions->evfs_file_stat);
- (*plugin->functions->evfs_file_stat)(client,command);
+ (*(plugin->functions->evfs_file_stat))(client,command);
}
}
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs