Ignore:
Timestamp:
Mar 4, 2024, 5:33:57 PM (2 months ago)
Author:
Bruno Cornec
Message:

manages zip_exe and zip_suffix dynamically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/mondorestore/mondorestore.c

    r3828 r3830  
    11541154    }
    11551155
    1156     if (!bkpinfo->zip_exe[0]) {
     1156    if (bkpinfo->zip_exe == NULL) {
    11571157        mr_asprintf(command, "cat > \"%s\"", file_to_openout);
    11581158    } else {
     
    12151215    paranoid_pclose(pout);
    12161216
    1217     if (bkpinfo->zip_exe[0]) {
     1217    if (bkpinfo->zip_exe != NULL) {
    12181218        if (strcmp(bkpinfo->zip_exe, "gzip") == 0) {
    12191219            /* Re-enable SIGPIPE for gzip */
Note: See TracChangeset for help on using the changeset viewer.