[tor-commits] [tor/maint-0.2.2] Fix a check-spaces complaint

nickm at torproject.org nickm at torproject.org
Wed Apr 27 18:02:16 UTC 2011


commit e03e90bf591f649f7883807f99354634e837ee48
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Fri Apr 8 04:16:26 2011 +0200

    Fix a check-spaces complaint
---
 src/or/connection_edge.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 5f322ca..1ee57ab 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -841,7 +841,7 @@ addressmap_clear_excluded_trackexithosts(or_options_t *options)
     if (len < 6)
       continue; /* malformed. */
     dot = target + len - 6; /* dot now points to just before .exit */
-    dot = strrchr(dot, '.'); /* dot now points to the . before .exit, or NULL */
+    dot = strrchr(dot, '.'); /* dot now points to the . before .exit or NULL */
     if (!dot) {
       nodename = tor_strndup(target, len-5);
     } else {





More information about the tor-commits mailing list