Fix a check-spaces violation in compat.c

Also fix a comment typo
This commit is contained in:
Sebastian Hahn 2011-12-30 18:06:41 +01:00
parent bfae41328e
commit 5d9be49540
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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)
{