summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-02-24 07:50:38 +0000
committerRoger Dingledine <arma@torproject.org>2007-02-24 07:50:38 +0000
commit50f22e858a2045649984a4f7c863f22106efcd95 (patch)
treec471be0f9b68ef5f59304b9fe5d7bc34f6573f29 /src/common/util.c
parentf599adf40ad702f26680ab6a7bbf869c788dd860 (diff)
downloadtor-50f22e858a2045649984a4f7c863f22106efcd95.tar.gz
tor-50f22e858a2045649984a4f7c863f22106efcd95.zip
doc pedant
svn:r9634
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c
index a2e10b77a1..b042963c57 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -862,7 +862,7 @@ tv_addms(struct timeval *a, long ms)
a->tv_usec %= 1000000;
}
-/** Yield true iff <b>y</b> is a leap-year */
+/** Yield true iff <b>y</b> is a leap-year. */
#define IS_LEAPYEAR(y) (!(y % 4) && ((y % 100) || !(y % 400)))
/** Helper: Return the number of leap-days between Jan 1, y1 and Jan 1, y2. */
static int
@@ -1957,9 +1957,9 @@ get_interface_address(int severity, uint32_t *addr)
#ifndef MS_WINDOWS
/* Based on code contributed by christian grothoff */
-/** True iff we've called start_daemon. */
+/** True iff we've called start_daemon(). */
static int start_daemon_called = 0;
-/** True iff we've called finish_daemon. */
+/** True iff we've called finish_daemon(). */
static int finish_daemon_called = 0;
/** Socketpair used to communicate between parent and child process while
* daemonizing. */