Ignore:
Timestamp:
Aug 18, 2009, 3:19:54 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3337@localhost: bruno | 2009-08-11 20:02:18 +0200
bkpinfo->boot_device and bkpinfo->zip_exe are now dynamically allocated

File:
1 edited

Legend:

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

    r2325 r2326  
    14881488    }
    14891489
    1490     if (!bkpinfo->zip_exe[0]) {
     1490    if (bkpinfo->zip_exe == NULL) {
    14911491        mr_asprintf(command, "cat > \"%s\"", file_to_openout);
    14921492    } else {
     
    15491549    paranoid_pclose(pout);
    15501550
    1551     if (bkpinfo->zip_exe[0]) {
     1551    if (bkpinfo->zip_exe != NULL) {
    15521552        if (strcmp(bkpinfo->zip_exe, "gzip") == 0) {
    15531553            /* Re-enable SIGPIPE for gzip */
Note: See TracChangeset for help on using the changeset viewer.