aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-12-30 18:06:41 +0100
committerSebastian Hahn <sebastian@torproject.org>2011-12-30 23:30:57 +0100
commit5d9be4954065296b622cb1dd560105ef284d519e (patch)
tree7ac15603383405f7cee2d4521e25f8f21e754890 /src/common/compat.c
parentbfae41328e9bbd29a3c3df2cd6b7c5d0caf83ada (diff)
downloadtor-5d9be4954065296b622cb1dd560105ef284d519e.tar
tor-5d9be4954065296b622cb1dd560105ef284d519e.tar.gz
Fix a check-spaces violation in compat.c
Also fix a comment typo
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 066d66cf4..27e006054 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) {