Changeset 2399 in MondoRescue
- Timestamp:
- Sep 15, 2009, 7:28:39 PM (15 years ago)
- Location:
- branches/2.2.9/mondo/src/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-devices.c
r2380 r2399 1787 1787 sprintf(command ,"umount %s/isodir 2> /dev/null", bkpinfo->tmpdir); 1788 1788 (void)system(command); 1789 strcpy(tmp1, bkpinfo->netfs_protocol); 1790 if (!popup_and_get_string 1791 ("Network protocol", "Which protocol should I use?", 1792 tmp1, MAX_STR_LEN)) { 1793 log_to_screen("User has chosen not to backup the PC"); 1794 finish(1); 1795 } 1796 mr_free(bkpinfo->netfs_protocol); 1797 mr_asprintf(&(bkpinfo->netfs_protocol), "%s", tmp1); 1789 1798 if (!popup_and_get_string 1790 1799 ("Network share", "Which remote share should I mount?", -
branches/2.2.9/mondo/src/common/libmondo-string.c
r2380 r2399 1092 1092 * @note The returned string points to static storage that will be overwritten with each call. 1093 1093 */ 1094 /* BCO/BERLIOS change that function to allocate memory, return a pointer and modify caller to free the mem */1095 1094 char *media_descriptor_string(t_bkptype type_of_bkp) { 1096 1095 … … 1120 1119 break; 1121 1120 case netfs: 1122 mr_asprintf(&type_of_backup, " netfs");1121 mr_asprintf(&type_of_backup, "%s", bkpinfo->netfs_proto); 1123 1122 break; 1124 1123 case usb:
Note:
See TracChangeset
for help on using the changeset viewer.