Changeset 2209 in MondoRescue for branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.c
- Timestamp:
- May 15, 2009, 4:56:31 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.c
r2140 r2209 1943 1943 /** buffers **********************************************************/ 1944 1944 char tmp[MAX_STR_LEN]; 1945 char flaws_str_A[MAX_STR_LEN];1946 char flaws_str_B[MAX_STR_LEN];1947 char flaws_str_C[MAX_STR_LEN];1945 char *flaws_str_A = NULL; 1946 char *flaws_str_B = NULL; 1947 char *flaws_str_C = NULL; 1948 1948 1949 1949 assert(mountlist != NULL); 1950 1950 assert(raidlist != NULL); 1951 1951 1952 strcpy(flaws_str_A, "xxxxxxxxx");1953 strcpy(flaws_str_B, "xxxxxxxxx");1954 strcpy(flaws_str_C, "xxxxxxxxx");1952 asprintf(&flaws_str_A, "%s", "xxxxxxxxx"); 1953 asprintf(&flaws_str_B, "%s", "xxxxxxxxx"); 1954 asprintf(&flaws_str_C, "%s", "xxxxxxxxx"); 1955 1955 if (mountlist->entries > ARBITRARY_MAXIMUM) { 1956 1956 log_to_screen("Arbitrary limits suck, man!"); … … 2043 2043 } 2044 2044 } 2045 paranoid_free(flaws_str_A); 2046 paranoid_free(flaws_str_B); 2047 paranoid_free(flaws_str_C); 2045 2048 newtFormDestroy(myForm); 2046 2049 newtPopWindow(); … … 2068 2071 { 2069 2072 int res = 0; 2070 // char tmp[MAX_STR_LEN];2071 2073 2072 2074 iamhere("entering eml");
Note:
See TracChangeset
for help on using the changeset viewer.