summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-21 03:42:56 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-21 03:42:56 +0000
commit47e6247673e4d47f30467e78897c5364320e860b (patch)
tree8c37b660b7f0ddc03771a3a41121298ae3ee7ffb /src/or
parent1df0647c668645268b1b9c0246b91cad709e3708 (diff)
downloadtor-47e6247673e4d47f30467e78897c5364320e860b.tar.gz
tor-47e6247673e4d47f30467e78897c5364320e860b.zip
r18294@catbus: nickm | 2008-02-20 22:42:44 -0500
Fix a spelling error and clean up a recent veracode-induced integer overflow check. Both spotted by Chris Palmer. svn:r13639
Diffstat (limited to 'src/or')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index b838eadc3e..75e88bfe3a 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4754,7 +4754,7 @@ or_state_load(void)
"to \"%s\". This could be a bug in Tor; please tell "
"the developers.", fname, fname2);
if (rename(fname, fname2) < 0) {
- log_warn(LD_BUG, "Weirdly, I couldn't even mode the state aside. The "
+ log_warn(LD_BUG, "Weirdly, I couldn't even move the state aside. The "
"OS gave an error of %s", strerror(errno));
}
}