Changeset 4f4018b in mainline for uspace/lib/http/src
- Timestamp:
- 2019-02-05T15:25:50Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cca2d93b
- Parents:
- 472fe7a
- Location:
- uspace/lib/http/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/http/src/headers.c
r472fe7a r4f4018b 85 85 { 86 86 /* TODO properly split long header values */ 87 if (buf == NULL) { 88 return printf_size(HTTP_HEADER_LINE, header->name, header->value); 89 } else { 90 return snprintf(buf, buf_size, 91 HTTP_HEADER_LINE, header->name, header->value); 92 } 87 return snprintf(buf, buf_size, 88 HTTP_HEADER_LINE, header->name, header->value); 93 89 } 94 90 -
uspace/lib/http/src/request.c
r472fe7a r4f4018b 82 82 const char *method, const char *path) 83 83 { 84 if (buf == NULL) { 85 return printf_size(HTTP_METHOD_LINE, method, path); 86 } else { 87 return snprintf(buf, buf_size, HTTP_METHOD_LINE, method, path); 88 } 84 return snprintf(buf, buf_size, HTTP_METHOD_LINE, method, path); 89 85 } 90 86
Note:
See TracChangeset
for help on using the changeset viewer.