Changeset 2401 in MondoRescue


Ignore:
Timestamp:
Sep 15, 2009, 7:34:19 PM (15 years ago)
Author:
Bruno Cornec
Message:

Wrong structure member name was used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-devices.c

    r2399 r2401  
    17871787            sprintf(command ,"umount %s/isodir 2> /dev/null", bkpinfo->tmpdir);
    17881788            (void)system(command);
    1789             strcpy(tmp1, bkpinfo->netfs_protocol);
     1789            strcpy(tmp1, bkpinfo->netfs_proto);
    17901790            if (!popup_and_get_string
    17911791                ("Network protocol", "Which protocol should I use?",
     
    17941794                finish(1);
    17951795            }
    1796             mr_free(bkpinfo->netfs_protocol);
    1797             mr_asprintf(&(bkpinfo->netfs_protocol), "%s", tmp1);
     1796            mr_free(bkpinfo->netfs_proto);
     1797            mr_asprintf(&(bkpinfo->netfs_proto), "%s", tmp1);
    17981798            if (!popup_and_get_string
    17991799                ("Network share", "Which remote share should I mount?",
Note: See TracChangeset for help on using the changeset viewer.