From: Sebastian Hahn Date: Mon, 28 Mar 2011 17:28:04 +0000 (+0200) Subject: Improve a few comments X-Git-Tag: tor-0.2.2.25-alpha~19^2^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9facf8918f959cc9d9c2674afbd0630718460dc3;p=thirdparty%2Ftor.git Improve a few comments --- diff --git a/src/common/address.c b/src/common/address.c index a089260de8..adc0ef0f7c 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -51,11 +51,11 @@ /** Convert the tor_addr_t in a, with port in port, into a * sockaddr object in *sa_out of object size len. 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,