Changeset 570 for trunk/src/sh_utils.c
- Timestamp:
- Sep 5, 2021, 12:40:51 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_utils.c
r560 r570 1246 1246 } 1247 1247 1248 if (NULL == (new = calloc(1,strlen(new_in) + 1))) 1248 len = strlen(new_in) + 1; 1249 if (NULL == (new = calloc(1, len))) 1249 1250 goto bail_mem; 1250 sl_strncpy(new, new_in, strlen(new_in) + 1);1251 memcpy(new, new_in, len); 1251 1252 1252 1253 key = new;
Note:
See TracChangeset
for help on using the changeset viewer.