Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/bin Modified Files: evfs_server_handle.c Log Message: * Fix some minor issues from the re-org =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/bin/evfs_server_handle.c,v retrieving revision 1.80 retrieving revision 1.81 diff -u -3 -r1.80 -r1.81 --- evfs_server_handle.c 17 Aug 2007 10:31:25 -0000 1.80 +++ evfs_server_handle.c 18 Aug 2007 01:52:09 -0000 1.81 @@ -77,7 +77,7 @@ { /*First get the plugin responsible for this file */ - if (command->file_command->num_files > 0) + if (evfs_command_file_count_get(command) > 0) { evfs_plugin *plugin = evfs_get_plugin_for_uri(client->server, evfs_command_first_file_get(command)->plugin_uri); @@ -654,7 +654,7 @@ void evfs_handle_metadata_string_file_set_command(evfs_client* client __UNUSED__, evfs_command* command, char* key, char* value) { - if (command->file_command->num_files > 0) { + if (evfs_command_file_count_get(command) == 1) { evfs_metadata_file_set_key_value_string(evfs_command_first_file_get(command), key, value); } } @@ -663,7 +663,7 @@ evfs_command* command, char* key) { char* value; - if (command->file_command->num_files > 0) { + if (evfs_command_file_count_get(command) == 1) { value = evfs_metadata_file_get_key_value_string(evfs_command_first_file_get(command), key); } } @@ -680,14 +680,14 @@ void evfs_handle_metadata_file_group_add(evfs_client* client, evfs_command* command) { - if (command->file_command->num_files > 0) { + if (evfs_command_file_count_get(command) == 1) { evfs_metadata_group_header_file_add(evfs_command_first_file_get(command), command->file_command->ref); } } void evfs_handle_metadata_file_group_remove(evfs_client* client, evfs_command* command) { - if (command->file_command->num_files > 0) { + if (evfs_command_file_count_get(command) == 1) { evfs_metadata_group_header_file_remove(evfs_command_first_file_get(command), command->file_command->ref); } } @@ -702,7 +702,7 @@ char* pos2; evfs_command* f_command; - for (c=0;c<command->file_command->num_files;c++) { + for (c=0;c<evfs_command_file_count_get(command);c++) { ref = evfs_command_nth_file_get(command,c); pos = strrchr(ref->path, '.'); pos2 = strrchr(ref->path, '/'); ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs