Changes in uspace/lib/http/src/headers.c [10de842:0e7c3d9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/http/src/headers.c
r10de842 r0e7c3d9 34 34 */ 35 35 36 #include <errno.h>37 36 #include <stdio.h> 38 37 #include <stdlib.h> … … 42 41 #include <http/http.h> 43 42 #include <http/ctype.h> 43 #include <http/errno.h> 44 44 45 45 #define HTTP_HEADER_LINE "%s: %s\r\n" … … 146 146 continue; 147 147 148 size_t nrecv; 149 rc = recv_discard(rb, (c == '\r' ? '\n' : '\r'), &nrecv); 150 if (rc != EOK) 148 rc = recv_discard(rb, (c == '\r' ? '\n' : '\r')); 149 if (rc < 0) 151 150 return rc; 152 151
Note:
See TracChangeset
for help on using the changeset viewer.