Changes in uspace/lib/http/src/headers.c [4f4018b:1433ecda] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/http/src/headers.c
r4f4018b r1433ecda 85 85 { 86 86 /* TODO properly split long header values */ 87 return snprintf(buf, buf_size, 88 HTTP_HEADER_LINE, header->name, header->value); 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 } 89 93 } 90 94
Note:
See TracChangeset
for help on using the changeset viewer.