Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/bin Modified Files: evfs_server_handle.c Log Message: * Oops - this would have caused a crash if you were copying < 2 files =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_server_handle.c,v retrieving revision 1.65 retrieving revision 1.66 diff -u -3 -r1.65 -r1.66 --- evfs_server_handle.c 6 Aug 2006 10:00:34 -0000 1.65 +++ evfs_server_handle.c 9 Aug 2006 16:27:54 -0000 1.66 @@ -382,8 +382,8 @@ evfs_handle_file_copy(evfs_client * client, evfs_command * command, evfs_command * root_command, int move) { - evfs_plugin *plugin; - evfs_plugin *dst_plugin; + evfs_plugin *plugin = NULL; + evfs_plugin *dst_plugin = NULL; int num_files; int c_file; @@ -404,11 +404,11 @@ return; } - if (num_files > 2) { - dst_plugin = - evfs_get_plugin_for_uri(client->server, - command->file_command.files[num_files-1]->plugin_uri); + dst_plugin = + evfs_get_plugin_for_uri(client->server, + command->file_command.files[num_files-1]->plugin_uri); + if (num_files > 2) { /*Check if >2 files, dest file is a dir*/ res = (*EVFS_PLUGIN_FILE(dst_plugin)->functions->evfs_file_lstat) (command, &dest_stat, num_files-1); ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs