Changeset 2405 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-stream.c
- Timestamp:
- Sep 17, 2009, 3:45:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-stream.c
r2383 r2405 1315 1315 while (ctrl_chr != BLK_START_AN_AFIO_OR_SLICE) { 1316 1316 res = 1317 read_header_block_from_stream(&temp_size, temp_fname, 1318 &ctrl_chr); 1317 read_header_block_from_stream(&temp_size, temp_fname, &ctrl_chr); 1319 1318 if (ctrl_chr == BLK_START_AN_AFIO_OR_SLICE) { 1320 1319 break; … … 1326 1325 while (ctrl_chr != BLK_START_FILE) { 1327 1326 res = 1328 read_header_block_from_stream(&temp_size, temp_fname, 1329 &ctrl_chr); 1327 read_header_block_from_stream(&temp_size, temp_fname, &ctrl_chr); 1330 1328 if (ctrl_chr == BLK_START_FILE) { 1331 1329 break; … … 1348 1346 } 1349 1347 while (strcmp(pA, pB)) { 1350 log_msg(6, "Skipping %s (it's not %s)", temp_fname, 1351 the_file_I_was_reading); 1348 log_msg(6, "Skipping %s (it's not %s)", temp_fname, the_file_I_was_reading); 1352 1349 for (size = temp_size; size > 0; size -= bytes_to_write) { 1353 1350 bytes_to_write = … … 1357 1354 } 1358 1355 res = 1359 read_header_block_from_stream(&temp_size, temp_fname, 1360 &ctrl_chr); 1356 read_header_block_from_stream(&temp_size, temp_fname, &ctrl_chr); 1361 1357 if (ctrl_chr != BLK_STOP_FILE) { 1362 1358 wrong_marker(BLK_STOP_FILE, ctrl_chr); 1363 1359 } 1364 1360 res = 1365 read_header_block_from_stream(&temp_size, temp_fname, 1366 &ctrl_chr); 1361 read_header_block_from_stream(&temp_size, temp_fname, &ctrl_chr); 1367 1362 if (ctrl_chr != BLK_STOP_AN_AFIO_OR_SLICE) { 1368 1363 wrong_marker(BLK_STOP_AN_AFIO_OR_SLICE, ctrl_chr); 1369 1364 } 1370 1365 res = 1371 read_header_block_from_stream(&temp_size, temp_fname, 1372 &ctrl_chr); 1366 read_header_block_from_stream(&temp_size, temp_fname, &ctrl_chr); 1373 1367 if (ctrl_chr != BLK_START_AN_AFIO_OR_SLICE) { 1374 1368 wrong_marker(BLK_START_AN_AFIO_OR_SLICE, ctrl_chr); 1375 1369 } 1376 1370 res = 1377 read_header_block_from_stream(&temp_size, temp_fname, 1378 &ctrl_chr); 1371 read_header_block_from_stream(&temp_size, temp_fname, &ctrl_chr); 1379 1372 if (ctrl_chr != BLK_START_FILE) { 1380 1373 wrong_marker(BLK_START_FILE, ctrl_chr); … … 1393 1386 } 1394 1387 } 1395 log_msg(2, "Reading %s (it matches %s)", temp_fname, 1396 the_file_I_was_reading); 1388 log_msg(2, "Reading %s (it matches %s)", temp_fname, the_file_I_was_reading); 1397 1389 paranoid_free(temp_fname); 1398 1390 paranoid_free(datablock);
Note:
See TracChangeset
for help on using the changeset viewer.