summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-11 15:37:39 -0400
committerAdam <Adam@anope.org>2010-10-11 15:37:39 -0400
commit717c123441bb47a4fab859e8fb3ec8c6ac5b7223 (patch)
tree3be1a3376caafdd8ca9bf75d7acf98020cf94a7c /include/dns.h
parent0ac77d0e42952765d2899565427ce92679142c17 (diff)
Fixed some warnings
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dns.h b/include/dns.h
index 9f9d26fc3..44e8d515b 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -119,11 +119,12 @@ struct DNSRecord
/* Record class, should always be 1 */
unsigned short record_class;
/* Time to live */
- unsigned long ttl;
+ time_t ttl;
/* Record length */
unsigned short rdlength;
inline DNSRecord();
+ /* When this record was created in our cache */
time_t created;
};