Ignore:
Timestamp:
Mar 4, 2024, 4:52:07 PM (3 months ago)
Author:
Bruno Cornec
Message:

manages restore_path dynamically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-verify.c

    r3613 r3828  
    295295                paranoid_fclose(fin);
    296296            }
    297             if (bkpinfo->restore_path) {
     297            if (bkpinfo->restore_path != NULL) {
    298298                mr_asprintf(tmp, "%s/%s", bkpinfo->restore_path, biggiestruct.filename);
    299299                log_msg(2, "Opening biggiefile #%ld - '%s'", bigfile_num, tmp);
     
    869869        mr_free(comment);
    870870
    871         if (bkpinfo->restore_path) {
     871        if (bkpinfo->restore_path != NULL) {
    872872            mr_asprintf(logical_fname, "%s/%s", bkpinfo->restore_path, orig_fname);
    873873            res = verify_a_biggiefile_from_stream(logical_fname, size);
Note: See TracChangeset for help on using the changeset viewer.