Changeset 58563585 in mainline for uspace/lib/c/generic/dnsr.c
- Timestamp:
- 2016-08-31T11:15:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10cb47e
- Parents:
- 7a67416
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dnsr.c
r7a67416 r58563585 124 124 return (int) retval; 125 125 } 126 126 127 127 size_t act_size = IPC_GET_ARG2(answer_cname); 128 128 assert(act_size <= DNSR_NAME_MAX_SIZE); 129 129 130 130 cname_buf[act_size] = '\0'; 131 131 132 132 info->cname = str_dup(cname_buf); 133 133 134 134 if (info->cname == NULL) { 135 135 free(info);
Note:
See TracChangeset
for help on using the changeset viewer.