]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
another time_t.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 10 Sep 2013 08:52:40 +0000 (08:52 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 10 Sep 2013 08:52:40 +0000 (08:52 +0000)
git-svn-id: file:///svn/unbound/trunk@2952 be551aaa-1e26-0410-a405-d3ace91eadb9

testcode/unitmain.c

index 122f09b86149c53c5a2e75913e95c84b41ef49a0..be4bed95eeb2b400063b5d5ba2f2859326f21821 100644 (file)
@@ -411,7 +411,7 @@ rtt_test(void)
 /* lookup and get key and data structs easily */
 static struct infra_data* infra_lookup_host(struct infra_cache* infra,
        struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* zone,
-       size_t zonelen, int wr, uint32_t now, struct infra_key** k)
+       size_t zonelen, int wr, time_t now, struct infra_key** k)
 {
        struct infra_data* d;
        struct lruhash_entry* e = infra_lookup_nottl(infra, addr, addrlen,
@@ -436,7 +436,7 @@ infra_test(void)
        size_t zonelen = 13;
        struct infra_cache* slab;
        struct config_file* cfg = config_create();
-       uint32_t now = 0;
+       time_t now = 0;
        uint8_t edns_lame;
        int vs, to;
        struct infra_key* k;