| 386 | // @todo: used to avoid littering the code with calls to printf... |
| 387 | PN_PRINTF_FORMAT_ATTR(1, 2) |
| 388 | static void ssl_log_error(PN_PRINTF_FORMAT const char *fmt, ...) |
| 389 | { |
| 390 | va_list ap; |
| 391 | va_start(ap, fmt); |
| 392 | ssl_vlog(NULL, PN_LEVEL_ERROR, fmt, ap); |
| 393 | va_end(ap); |
| 394 | } |
| 395 | |
| 396 | PN_PRINTF_FORMAT_ATTR(2, 3) |
| 397 | static void ssl_log_error_status(HRESULT status, PN_PRINTF_FORMAT const char *fmt, ...) |
no test coverage detected