[tor-commits] [tor/master] Merge remote-tracking branch 'origin/maint-0.2.4'

nickm at torproject.org nickm at torproject.org
Mon Feb 10 02:42:02 UTC 2014


commit a73b0da653db051275311ea791098a8a9dacc98f
Merge: a0577aa 7f6aa78
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sun Feb 9 21:41:59 2014 -0500

    Merge remote-tracking branch 'origin/maint-0.2.4'

 src/or/channeltls.c |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --cc src/or/channeltls.c
index 42d6874,d5428c1..959ec47
--- a/src/or/channeltls.c
+++ b/src/or/channeltls.c
@@@ -53,10 -53,9 +53,11 @@@ static void channel_tls_common_init(cha
  
  static void channel_tls_close_method(channel_t *chan);
  static const char * channel_tls_describe_transport_method(channel_t *chan);
+ static void channel_tls_free_method(channel_t *chan);
  static int
  channel_tls_get_remote_addr_method(channel_t *chan, tor_addr_t *addr_out);
 +static int
 +channel_tls_get_transport_name_method(channel_t *chan, char **transport_out);
  static const char *
  channel_tls_get_remote_descr_method(channel_t *chan, int flags);
  static int channel_tls_has_queued_writes_method(channel_t *chan);
@@@ -114,9 -113,9 +115,10 @@@ channel_tls_common_init(channel_tls_t *
    chan->state = CHANNEL_STATE_OPENING;
    chan->close = channel_tls_close_method;
    chan->describe_transport = channel_tls_describe_transport_method;
+   chan->free = channel_tls_free_method;
    chan->get_remote_addr = channel_tls_get_remote_addr_method;
    chan->get_remote_descr = channel_tls_get_remote_descr_method;
 +  chan->get_transport_name = channel_tls_get_transport_name_method;
    chan->has_queued_writes = channel_tls_has_queued_writes_method;
    chan->is_canonical = channel_tls_is_canonical_method;
    chan->matches_extend_info = channel_tls_matches_extend_info_method;



More information about the tor-commits mailing list