diff --git a/src/common/compat.c b/src/common/compat.c index 066d66cf47..27e0060544 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 a6d5d8f1e4..627580b096 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) {