- if(!strcmp(MSG_process_get_name(MSG_process_self()),"0"))
- file = MSG_file_open(mount,FILENAME1,"rw");
- else if(!strcmp(MSG_process_get_name(MSG_process_self()),"1"))
- file = MSG_file_open(mount,FILENAME2,"rw");
+ if(!strcmp(MSG_process_get_name(MSG_process_self()),"0")){
+ file = MSG_file_open(mount,FILENAME1, NULL);
+ MSG_file_dump(file);
+ } else if(!strcmp(MSG_process_get_name(MSG_process_self()),"1"))
+ file = MSG_file_open(mount,FILENAME2, NULL);