Ticket #7733: log-conn.patch

File log-conn.patch, 570 bytes (added by nickm, 6 years ago)
  • src/or/channeltls.c

    diff --git a/src/or/channeltls.c b/src/or/channeltls.c
    index 959ec47..fc52adb 100644
    a b channel_tls_connect(const tor_addr_t *addr, uint16_t port, 
    148148  channel_tls_t *tlschan = tor_malloc_zero(sizeof(*tlschan));
    149149  channel_t *chan = &(tlschan->base_);
    150150
     151  log_notice(LD_CHANNEL, "channel_tls_connect %s:%d [%s]",
     152             fmt_addr(addr),
     153             (int)port,
     154             id_digest ? hex_str(id_digest, DIGEST_LEN) : "nil");
     155
    151156  channel_tls_common_init(tlschan);
    152157
    153158  log_debug(LD_CHANNEL,