diff options
author | heraklit256 <37872459+heraklit256@users.noreply.github.com> | 2018-12-19 19:26:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-19 19:26:34 +0000 |
commit | e36509986bcc059a99ca5c08d9a7d90c1f1217f5 (patch) | |
tree | a715e2e95154a1f6aaf62bf7f73adb002c823fa7 /contrib/librdns/resolver.c | |
parent | 5f4617948c64483dfb648b5bfe784f8c84dd87ea (diff) | |
parent | 714faa2b804507f622d4780be646eaf8146a166d (diff) | |
download | rspamd-e36509986bcc059a99ca5c08d9a7d90c1f1217f5.tar.gz rspamd-e36509986bcc059a99ca5c08d9a7d90c1f1217f5.zip |
Merge pull request #8 from rspamd/master
merge upstream into local master
Diffstat (limited to 'contrib/librdns/resolver.c')
-rw-r--r-- | contrib/librdns/resolver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/librdns/resolver.c b/contrib/librdns/resolver.c index b9b156c5e..b38e90514 100644 --- a/contrib/librdns/resolver.c +++ b/contrib/librdns/resolver.c @@ -984,7 +984,7 @@ void rdns_resolver_set_fake_reply (struct rdns_resolver *resolver, fake_rep->rcode = rcode; if (reply) { - DL_APPEND (fake_rep->result, reply); + DL_CONCAT (fake_rep->result, reply); } } else { @@ -999,7 +999,7 @@ void rdns_resolver_set_fake_reply (struct rdns_resolver *resolver, memcpy (&fake_rep->key, srch, sizeof (*srch) + len); if (reply) { - DL_APPEND (fake_rep->result, reply); + DL_CONCAT (fake_rep->result, reply); } HASH_ADD (hh, resolver->fake_elts, key, sizeof (*srch) + len, fake_rep); |