aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/compat.c2
-rw-r--r--src/or/connection.c2
2 files changed, 2 insertions, 2 deletions
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)
{