Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'andrewtj-atj-no_inet_dns' into cowboy-protocol

  • Loading branch information...
commit 7fde0c360cfa031beb66727a2f0cf1a602ef91d5 2 parents ae42176 + e5c719e
@Vagabond authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/smtp_util.erl
View
3  src/smtp_util.erl
@@ -27,7 +27,6 @@
mxlookup/1, guess_FQDN/0, compute_cram_digest/2, get_cram_string/1,
trim_crlf/1, rfc5322_timestamp/0, zone/0, generate_message_id/0,
generate_message_boundary/0]).
--include_lib("kernel/src/inet_dns.hrl").
%% @doc returns a sorted list of mx servers for `Domain', lowest distance first
mxlookup(Domain) ->
@@ -44,7 +43,7 @@ mxlookup(Domain) ->
_ ->
ok
end,
- case inet_res:lookup(Domain, in, ?S_MX) of
+ case inet_res:lookup(Domain, in, mx) of
[] ->
[];
Result ->
Please sign in to comment.
Something went wrong with that request. Please try again.