Changes in uspace/lib/c/generic/adt/measured_strings.c [28a3e74:61bfc370] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/adt/measured_strings.c
r28a3e74 r61bfc370 74 74 new->length = length; 75 75 new->value = ((uint8_t *) new) + sizeof(measured_string_t); 76 / * Append terminating zero explicitly - to be safe */76 // append terminating zero explicitly - to be safe 77 77 memcpy(new->value, string, new->length); 78 78 new->value[new->length] = '\0';
Note:
See TracChangeset
for help on using the changeset viewer.