Fixup error in time calculation.

git-svn-id: file:///svn/unbound/trunk@1247 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2008-09-18 07:55:01 +00:00
parent d4151219a2
commit 3ca6d2e5a2
7 changed files with 20 additions and 16 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ static struct replay_scenario* saved_scenario = NULL;
/** add timers and the values do not overflow or become negative */
static void
timeval_add(struct timeval* d, struct timeval* add)
timeval_add(struct timeval* d, const struct timeval* add)
{
#ifndef S_SPLINT_S
d->tv_sec += add->tv_sec;