Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.97 KB | None | 0 0
  1. ```
  2. #define TMP_LOG_E                                                             \
  3.   do {                                                                        \
  4.       if (conn->flags & CONN_FLAG_CLOSED) {                                   \
  5.           lps_t const orig_path = conn->client.http_request_state->orig_path; \
  6.           log_e ("%s:%d: conn error, conn_id=%lu, '%.*s'",                    \
  7.                  __FILE__, __LINE__,                                          \
  8.                  conn->id,                                                    \
  9.                  (int) (orig_path != NULL ? LPSLEN (orig_path) : 0),          \
  10.                  orig_path != NULL ? LPSDATA (orig_path) : "");               \
  11.                                                                               \
  12.           return;                                                             \
  13.       }                                                                       \
  14.   } while(0)
  15. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement