Changeset 2387 in MondoRescue


Ignore:
Timestamp:
Sep 10, 2009, 6:40:47 PM (15 years ago)
Author:
Bruno Cornec
Message:

Fix a problem in netfs analysis in mondoarchive

File:
1 edited

Legend:

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

    r2380 r2387  
    10111011                fatal_error("No protocol correctly specified for remote share mount. Use protocol://server:share");
    10121012            }
    1013             /* new netfs mount */
    1014             strcpy(tmp,p);
     1013            p++
     1014            /* p points on to the string server:/path */
     1015            strcpy(bkpinfo->netfs_mount,p);
     1016
     1017            /* going back to protocol */
    10151018            p--;
    10161019            p--;
     
    10191022            mr_asprintf(&q,"%s",bkpinfo->netfs_mount);
    10201023            bkpinfo->netfs_proto = q;
    1021             strcpy(bkpinfo->netfs_mount,tmp);
    10221024        }
    10231025        /* test if we specified a user */
Note: See TracChangeset for help on using the changeset viewer.