]> diplodocus.org Git - nmh/commitdiff
Switched to "server" instead of "client" for SASL remote hostname.
authorKen Hornstein <kenh@pobox.com>
Fri, 23 Sep 2016 00:01:34 +0000 (20:01 -0400)
committerKen Hornstein <kenh@pobox.com>
Fri, 23 Sep 2016 00:01:34 +0000 (20:01 -0400)
mts/smtp/smtp.c

index 782461a0261588354a39a37d021a8093d9c9ed9e..3661200658356e0539dfcbc11f8cd680a9aaf7fb 100644 (file)
@@ -149,7 +149,7 @@ smtp_init (char *client, char *server, char *port, int watch, int verbose,
        netsec_set_snoop(nsc, 1);
 
     if (sasl) {
-       if (netsec_set_sasl_params(nsc, client, "smtp", saslmech,
+       if (netsec_set_sasl_params(nsc, server, "smtp", saslmech,
                                   sm_sasl_callback, &errstr) != OK)
            return sm_nerror(errstr);
     }