Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/bin Modified Files: evfs_server_handle.c Log Message: * Some error checking code =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_server_handle.c,v retrieving revision 1.40 retrieving revision 1.41 diff -u -3 -r1.40 -r1.41 --- evfs_server_handle.c 3 Feb 2006 09:51:07 -0000 1.40 +++ evfs_server_handle.c 3 Feb 2006 14:23:54 -0000 1.41 @@ -417,10 +417,17 @@ } if (!S_ISDIR (file_stat.st_mode)) { + int fd = (*plugin->functions->evfs_file_open) (client, + command->file_command.files[0]); + + if (fd <= 0) { + printf("************************* Could not open file!\n"); + goto CLEANUP; + } + (*dst_plugin->functions->evfs_file_create) (command->file_command. files[1]); - (*plugin->functions->evfs_file_open) (client, - command->file_command.files[0]); + count = 0; while (count < file_stat.st_size) { ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs