commit 5d9be4954065296b622cb1dd560105ef284d519e Author: Sebastian Hahn sebastian@torproject.org Date: Fri Dec 30 18:06:41 2011 +0100
Fix a check-spaces violation in compat.c
Also fix a comment typo --- src/common/compat.c | 2 +- src/or/connection.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/common/compat.c b/src/common/compat.c index 066d66c..27e0060 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -1654,7 +1654,7 @@ make_path_absolute(char *fname)
tor_assert(fname);
- if(fname[0] == '/') { + if (fname[0] == '/') { absfname = tor_strdup(fname); } else { if (getcwd(path, PATH_MAX) != NULL) { diff --git a/src/or/connection.c b/src/or/connection.c index a6d5d8f..627580b 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1956,7 +1956,7 @@ connection_mark_all_noncontrol_listeners(void) } SMARTLIST_FOREACH_END(conn); }
-/** Mark every external conection not used for controllers for close. */ +/** Mark every external connection not used for controllers for close. */ void connection_mark_all_noncontrol_connections(void) {
tor-commits@lists.torproject.org