aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/librdns
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-08-10 13:07:53 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-08-10 13:07:53 +0100
commit4d471ea9ce1d23e33310ac887fe8a96d345aa8c6 (patch)
treea114246b1b3c6e017da6018ac93894b99406f46a /contrib/librdns
parentcec578734c7ff3d9aa80dcd0c8df958a6099ac71 (diff)
downloadrspamd-4d471ea9ce1d23e33310ac887fe8a96d345aa8c6.tar.gz
rspamd-4d471ea9ce1d23e33310ac887fe8a96d345aa8c6.zip
[Minor] str_from_rdns_type -> rdns_str_from_type to keep consistency
Diffstat (limited to 'contrib/librdns')
-rw-r--r--contrib/librdns/rdns.h2
-rw-r--r--contrib/librdns/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/librdns/rdns.h b/contrib/librdns/rdns.h
index 4fa5a1521..8aca1f9f6 100644
--- a/contrib/librdns/rdns.h
+++ b/contrib/librdns/rdns.h
@@ -397,7 +397,7 @@ enum rdns_request_type rdns_type_fromstr (const char *str);
* @return
*/
const char *
-str_from_rdns_type (enum rdns_request_type rcode);
+rdns_str_from_type (enum rdns_request_type rcode);
/**
* Parse string and return error code
diff --git a/contrib/librdns/util.c b/contrib/librdns/util.c
index 11578a172..c9480beb6 100644
--- a/contrib/librdns/util.c
+++ b/contrib/librdns/util.c
@@ -290,7 +290,7 @@ rdns_type_fromstr (const char *str)
}
const char *
-str_from_rdns_type (enum rdns_request_type rcode)
+rdns_str_from_type (enum rdns_request_type rcode)
{
switch (rcode) {
case RDNS_REQUEST_INVALID: