Changeset 49 in MondoRescue for trunk/mondo/mondo/common/libmondo-string.c
- Timestamp:
- Oct 7, 2005, 7:03:07 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-string.c
r45 r49 128 128 assert(input != NULL); 129 129 130 asprintf( tmp, "%s", input);130 asprintf(&tmp, "%s", input); 131 131 if (strlen(tmp) > 6) { 132 132 asprintf(&pos_w_commas, "%s", tmp); … … 250 250 assert(width > 2); 251 251 252 asprintf( output, "%s", incoming);252 asprintf(&output, "%s", incoming); 253 253 for (i = (int) strlen(output); i < width; i++) { 254 254 output[i] = ' ';
Note:
See TracChangeset
for help on using the changeset viewer.