Changeset d5a89a3 in mainline for uspace/lib/http/src/headers.c


Ignore:
Timestamp:
2019-02-11T22:31:04Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
aaf9789c
Parents:
e3272101 (diff), 4805495 (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.
Message:

merging with upstream/master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/http/src/headers.c

    re3272101 rd5a89a3  
    8585{
    8686        /* 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);
    9389}
    9490
Note: See TracChangeset for help on using the changeset viewer.