Changeset 2421 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-archive.c
- Timestamp:
- Sep 24, 2009, 3:50:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-archive.c
r2420 r2421 993 993 if (!does_file_exist(archiving_filelist_fname)) { 994 994 log_msg(3, "[%d:%d] - well, I would archive %d, except that it doesn't exist. I'll stop now.", getpid(), this_thread_no, archiving_set_no); 995 mr_free(archiving_afioball_fname); 995 996 break; 996 997 } … … 1291 1292 malloc_string(result_str); 1292 1293 transfer_block = malloc(sizeof(struct s_bkpinfo) + BKPINFO_LOC_OFFSET + 64); 1293 memset((void *) transfer_block, 0, 1294 sizeof(struct s_bkpinfo) + BKPINFO_LOC_OFFSET + 64); 1294 memset((void *) transfer_block, 0, sizeof(struct s_bkpinfo) + BKPINFO_LOC_OFFSET + 64); 1295 1295 p_last_set_archived = (int *) transfer_block; 1296 1296 p_archival_threads_running = (int *) (transfer_block + 4); 1297 1297 p_next_set_to_archive = (int *) (transfer_block + 8); 1298 1298 p_list_of_fileset_flags = (char *) (transfer_block + 12); 1299 memcpy((void *) (transfer_block + BKPINFO_LOC_OFFSET), 1300 (void *) bkpinfo, sizeof(struct s_bkpinfo)); 1299 memcpy((void *) (transfer_block + BKPINFO_LOC_OFFSET), (void *) bkpinfo, sizeof(struct s_bkpinfo)); 1301 1300 pvp = &vp; 1302 1301 vp = (void *) result_str; … … 1310 1309 "Please wait. This may take a couple of hours.", 1311 1310 "Working...", 1312 get_last_filelist_number() + 1);1311 (long)get_last_filelist_number() + 1L); 1313 1312 1314 1313 log_msg(5, "We're gonna party like it's your birthday.");
Note:
See TracChangeset
for help on using the changeset viewer.