plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 7fb06adf54aa6e47974673dcdeb328780927b8e6
parent 89ec3cde42c7b1bb44e6a7b39f73dbec5e892d04
Author: David du Colombier <0intro@gmail.com>
Date:   Thu,  2 Jun 2011 09:31:59 -0400

upas/smtp: remove reference to /net in mxdial

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4535108

Diffstat:
Msrc/cmd/upas/smtp/mxdial.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/upas/smtp/mxdial.c b/src/cmd/upas/smtp/mxdial.c @@ -100,7 +100,7 @@ callmx(DS *ds, char *dest, char *domain) } /* dial each one in turn */ for(i = 0; i < nmx; i++){ - snprint(addr, sizeof(addr), "%s/%s!%s!%s", ds->netdir, ds->proto, + snprint(addr, sizeof(addr), "%s!%s!%s", ds->proto, mx[i].host, ds->service); if(debug) fprint(2, "mxdial trying %s (%d)\n", addr, i);