diff options
Diffstat (limited to 'src/evdns')
-rw-r--r-- | src/evdns/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/evdns/evdns.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/evdns/CMakeLists.txt b/src/evdns/CMakeLists.txt index 798ece9cc..338da91a9 100644 --- a/src/evdns/CMakeLists.txt +++ b/src/evdns/CMakeLists.txt @@ -2,3 +2,4 @@ SET(EVDNSSRC evdns.c) ADD_LIBRARY(rspamd_evdns STATIC ${EVDNSSRC}) +SET_TARGET_PROPERTIES(rspamd_evdns PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB") diff --git a/src/evdns/evdns.c b/src/evdns/evdns.c index 4a8a7b650..e399a14a0 100644 --- a/src/evdns/evdns.c +++ b/src/evdns/evdns.c @@ -2307,7 +2307,7 @@ out2: CLOSE_SOCKET(ns->socket); out1: g_free(ns); - msg_warn("Unable to add nameserver %s: error %d", debug_ntop(address), err); + msg_warn("error %d", debug_ntop(address), err); return err; } |