]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve a few comments
authorSebastian Hahn <sebastian@torproject.org>
Mon, 28 Mar 2011 17:28:04 +0000 (19:28 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Mon, 28 Mar 2011 17:28:04 +0000 (19:28 +0200)
src/common/address.c

index a089260de849c95e06afbcfabceaac238ef84fd1..adc0ef0f7cbf87d98d27cd46bbaae7a15481d8d8 100644 (file)
 
 /** 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,