summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-09-03 03:01:23 +0200
committerRoger Dingledine <arma@torproject.org>2009-09-15 07:12:12 -0400
commit5e01a86b42fe2c975408dd7be0d2d4627c8c2f38 (patch)
treeb1d8b36616091cb6354881df08ab1bde0dad0ec1 /src/common/compat.c
parent39dee3d52c0cba7717289c7f2d2890e98ac5c813 (diff)
downloadtor-5e01a86b42fe2c975408dd7be0d2d4627c8c2f38.tar.gz
tor-5e01a86b42fe2c975408dd7be0d2d4627c8c2f38.zip
some cleanups:
documentation fix for get_uint64 remove extra "." from a log line fix a long line
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 29425c2492..e1a275de11 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -480,8 +480,8 @@ get_uint32(const char *cp)
return v;
}
/**
- * Read a 32-bit value beginning at <b>cp</b>. Equivalent to
- * *(uint32_t*)(cp), but will not cause segfaults on platforms that forbid
+ * Read a 64-bit value beginning at <b>cp</b>. Equivalent to
+ * *(uint64_t*)(cp), but will not cause segfaults on platforms that forbid
* unaligned memory access.
*/
uint64_t