git://developer.intra2net.com
/
pingcheck
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
revision 0.6r5 so we are in sync with other revision numbers; make compiler happier
[pingcheck]
/
src
/
dns
/
cname.h
diff --git
a/src/dns/cname.h
b/src/dns/cname.h
index
883dc51
..
7a1010e
100644
(file)
--- a/
src/dns/cname.h
+++ b/
src/dns/cname.h
@@
-39,7
+39,8
@@
struct Cname
std::string Host;
TimeToLive Ttl;
- Cname() {}
+ Cname()
+ : Host(""), Ttl( TimeToLive(0) ) {}
Cname(const std::string &host, const uint32_t ttl)
: Host(host), Ttl( TimeToLive(ttl) ) {}