Changeset 2388 in MondoRescue for branches/2.2.9/mondo/src
- Timestamp:
- Sep 10, 2009, 8:25:13 PM (16 years ago)
- Location:
- branches/2.2.9/mondo/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-cli.c
r2387 r2388 1011 1011 fatal_error("No protocol correctly specified for remote share mount. Use protocol://server:share"); 1012 1012 } 1013 p++ 1013 p++; 1014 1014 /* p points on to the string server:/path */ 1015 strcpy( bkpinfo->netfs_mount,p);1015 strcpy(tmp,p); 1016 1016 1017 1017 /* going back to protocol */ … … 1022 1022 mr_asprintf(&q,"%s",bkpinfo->netfs_mount); 1023 1023 bkpinfo->netfs_proto = q; 1024 strcpy(bkpinfo->netfs_mount,tmp); 1024 1025 } 1025 1026 /* test if we specified a user */ -
branches/2.2.9/mondo/src/mondorestore/mondo-rstr-tools.c
r2386 r2388 827 827 if (!strcmp(value, "nfs")) { 828 828 mr_free(bkpinfo->netfs_proto); 829 mr_asprintf( bkpinfo->netfs_proto, "nfs");829 mr_asprintf(&(bkpinfo->netfs_proto), "nfs"); 830 830 } 831 831
Note:
See TracChangeset
for help on using the changeset viewer.