Ignore:
Timestamp:
Mar 30, 2010, 2:20:29 AM (9 years ago)
Author:
bruno
Message:
  • Fix an initialization bug for network protocol in interactive mode (was NULL and not NFS by default)
File:
1 edited

Legend:

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

    r2528 r2613  
    23702370            sprintf(command ,"umount %s/isodir 2> /dev/null", bkpinfo->tmpdir);
    23712371            (void)system(command);
     2372            /*  Force NFS to be the protocol by default */
     2373            if (bkpinfo->netfs_proto == NULL) {
     2374                mr_asprintf(&(bkpinfo->netfs_proto), "nfs");
     2375            }
    23722376            strcpy(tmp1, bkpinfo->netfs_proto);
    23732377            if (!popup_and_get_string
    2374                 ("Network protocol", "Which protocol should I use?",
     2378                ("Network protocol", "Which protocol should I use (nfs/sshfs) ?",
    23752379                 tmp1, MAX_STR_LEN)) {
    23762380                log_to_screen("User has chosen not to backup the PC");
Note: See TracChangeset for help on using the changeset viewer.