| 411 | -------------------------------------------------------------------------*/ |
| 412 | |
| 413 | int |
| 414 | http_version_print(const HTTPVersion &version, char *buf, int bufsize, int *bufindex, int *dumpoffset) |
| 415 | { |
| 416 | #define TRY(x) \ |
| 417 | if (!x) \ |
| 418 | return 0 |
| 419 | |
| 420 | char tmpbuf[16]; |
| 421 | http_hdr_version_to_string(version, tmpbuf); |
| 422 | TRY(mime_mem_print(tmpbuf, 8, buf, bufsize, bufindex, dumpoffset)); |
| 423 | return 1; |
| 424 | |
| 425 | #undef TRY |
| 426 | } |
| 427 | |
| 428 | /*------------------------------------------------------------------------- |
| 429 | -------------------------------------------------------------------------*/ |
no test coverage detected