diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dns.h | 2 | ||||
-rw-r--r-- | include/modules.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/dns.h b/include/dns.h index 034efb930..d0cb97804 100644 --- a/include/dns.h +++ b/include/dns.h @@ -39,7 +39,7 @@ private: char* result; int t; void dns_init(); - unsigned int fd; + int fd; void dns_init_2(const char* dnsserver); in_addr *dns_aton4(const char * const ipstring); char *dns_ntoa4(const in_addr * const ip); diff --git a/include/modules.h b/include/modules.h index da2bfe023..0737f9e17 100644 --- a/include/modules.h +++ b/include/modules.h @@ -144,6 +144,7 @@ class ModuleMessage : public classbase /** This class is pure virtual and must be inherited. */ virtual char* Send() = 0; + virtual ~ModuleMessage() {}; }; /** The Request class is a unicast message directed at a given module. |