summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-11-29 14:50:44 +0100
committerBenny Baumann <BenBE@geshi.org>2014-11-29 14:50:44 +0100
commit21315daeea94a80359698bb5143bab927ba7eaee (patch)
tree8e08506370c63f212bcbec12f2292fb78251bad3
parent34c3a6380c0e70b4648777b8b51e3a35117762df (diff)
parent2ccdbb3af3cbac35195edd4fe65e946a0c27f70b (diff)
downloadcacert-devel-21315daeea94a80359698bb5143bab927ba7eaee.tar.gz
cacert-devel-21315daeea94a80359698bb5143bab927ba7eaee.tar.xz
cacert-devel-21315daeea94a80359698bb5143bab927ba7eaee.zip
Merge branch 'bug-1318' into testserver-stable
-rw-r--r--includes/general.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/general.php b/includes/general.php
index 957156f..480c6d1 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -578,7 +578,7 @@
list($username,$domain)=explode('@',$email,2);
$mxhosts = array();
$mxweight = array();
- if( !getmxrr($domain, $mxhosts) ) {
+ if( !getmxrr($domain, $mxhosts, $mxweight) ) {
$mxhostrr = array($domain);
$mxweight = array(0);
} else if ( !empty($mxhosts) ) {