assert activeq in event.c;
from Phil Oelson.
svn:r313
#ifndef EVENTDNS_H
#define EVENTDNS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Error codes 0-5 are as described in RFC 1035. */
#define DNS_ERR_NONE 0
/* The name server was unable to interpret the query */
#define DNS_NO_SEARCH 1
+#ifdef __cplusplus
+}
+#endif
+
#endif // !EVENTDNS_H
}
}
+ assert(activeq != NULL);
+
for (ev = TAILQ_FIRST(activeq); ev; ev = TAILQ_FIRST(activeq)) {
event_queue_remove(base, ev, EVLIST_ACTIVE);