Browse Source

refine the log output

pull/57/head
Max Lv 10 years ago
parent
commit
087e67a732
1 changed files with 4 additions and 1 deletions
  1. 5
      src/udprelay.c

5
src/udprelay.c

@ -350,7 +350,10 @@ static void remote_timeout_cb(EV_P_ ev_timer *watcher, int revents)
struct remote_ctx *remote_ctx = (struct remote_ctx *) (((void*)watcher)
- sizeof(ev_io));
LOGE("UDP connection timeout");
if (verbose)
{
LOGD("UDP connection timeout");
}
char *key = hash_key(remote_ctx->addr_header,
remote_ctx->addr_header_len, &remote_ctx->src_addr);

Loading…
Cancel
Save