aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-03-28 19:28:04 +0200
committerSebastian Hahn <sebastian@torproject.org>2011-03-28 19:28:04 +0200
commit9facf8918f959cc9d9c2674afbd0630718460dc3 (patch)
tree78170b33ce4590402861fb6301872ae47ebcb358
parent8d81831d715adf9cb374100e23cc2b118efe3101 (diff)
downloadtor-9facf8918f959cc9d9c2674afbd0630718460dc3.tar
tor-9facf8918f959cc9d9c2674afbd0630718460dc3.tar.gz
Improve a few comments
-rw-r--r--src/common/address.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/address.c b/src/common/address.c
index a089260de..adc0ef0f7 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -51,11 +51,11 @@
/** Convert the tor_addr_t in <b>a</b>, with port in <b>port</b>, into a
* sockaddr object in *<b>sa_out</b> of object size <b>len</b>. If not enough
- * room is available in sa_out, or on error, return 0 On success, return
+ * room is available in sa_out, or on error, return 0. On success, return
* the length of the sockaddr.
*
- * Interface note: ordinarly, we return -1 for error. We can't do that here,
- * since socklen is unsigned on some platforms.
+ * Interface note: ordinarily, we return -1 for error. We can't do that here,
+ * since socklen_t is unsigned on some platforms.
**/
socklen_t
tor_addr_to_sockaddr(const tor_addr_t *a,