[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No MX, no address found it!



I got it, I got it!!!

Index: getmxrr.c
===================================================================
RCS file: /cvsroot/zmailer/transports/smtp/getmxrr.c,v
retrieving revision 1.13
diff -u -r1.13 getmxrr.c
--- getmxrr.c   2000/08/01 16:18:29     1.13
+++ getmxrr.c   2000/08/02 08:19:21
@@ -563,8 +563,8 @@
 
            if (SS->verboselog)
              fprintf(SS->verboselog,"  matchmyaddresses(): matched! 
canon='%s', myname='%s'\n", mx[i].ai->ai_canonname, myhostname);
-           if (maxpref > (int)mx[nmx].pref)
-             maxpref = mx[nmx].pref;
+           if (maxpref > mx[i].pref)
+             maxpref = mx[i].pref;
          }
        } /* ... i < nmx ... */

Eugene