Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 7fde0c360cfa031beb66727a2f0cf1a602ef91d5 2 parents ae42176 + e5c719e
Andrew Thompson authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  src/smtp_util.erl
3  src/smtp_util.erl
@@ -27,7 +27,6 @@
27 27 mxlookup/1, guess_FQDN/0, compute_cram_digest/2, get_cram_string/1,
28 28 trim_crlf/1, rfc5322_timestamp/0, zone/0, generate_message_id/0,
29 29 generate_message_boundary/0]).
30   --include_lib("kernel/src/inet_dns.hrl").
31 30
32 31 %% @doc returns a sorted list of mx servers for `Domain', lowest distance first
33 32 mxlookup(Domain) ->
@@ -44,7 +43,7 @@ mxlookup(Domain) ->
44 43 _ ->
45 44 ok
46 45 end,
47   - case inet_res:lookup(Domain, in, ?S_MX) of
  46 + case inet_res:lookup(Domain, in, mx) of
48 47 [] ->
49 48 [];
50 49 Result ->

0 comments on commit 7fde0c3

Please sign in to comment.
Something went wrong with that request. Please try again.