Changeset ff381a7 in mainline for uspace/lib/c/generic/inet/addr.c
- Timestamp:
- 2015-11-02T20:54:19Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8513177
- Parents:
- 3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inet/addr.c
r3feeab2 rff381a7 306 306 i++; 307 307 308 if (*cur == '\0' )308 if (*cur == '\0' || *cur == '/') 309 309 break; 310 310 … … 317 317 318 318 if (prefix != NULL) { 319 if (*cur != '/') 320 return EINVAL; 321 cur++; 322 319 323 *prefix = strtoul(cur, &cur, 10); 320 324 if (*prefix > 32)
Note:
See TracChangeset
for help on using the changeset viewer.