From 74ec18929fc73aab991f17bbfaf5239cd528d272 Mon Sep 17 00:00:00 2001 From: Robert Schiele Date: Mon, 5 Jan 2004 11:55:14 +0000 Subject: [PATCH] Back out part of the previous SASL/IPv6 patch due to portability issues. --- mutt_sasl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mutt_sasl.c b/mutt_sasl.c index 329f42e6..6a201377 100644 --- a/mutt_sasl.c +++ b/mutt_sasl.c @@ -203,7 +203,7 @@ int mutt_sasl_client_new (CONNECTION* conn, sasl_conn_t** saslconn) return -1; } else - if (iptostring((struct sockaddr *)&local, local.ss_len, iplocalport, IP_PORT_BUFLEN) != SASL_OK){ + if (iptostring((struct sockaddr *)&local, size, iplocalport, IP_PORT_BUFLEN) != SASL_OK){ dprint (1, (debugfile, "mutt_sasl_client_new: iptostring for local failed\n")); return -1; } @@ -214,7 +214,7 @@ int mutt_sasl_client_new (CONNECTION* conn, sasl_conn_t** saslconn) return -1; } else - if (iptostring((struct sockaddr *)&remote, remote.ss_len, ipremoteport, IP_PORT_BUFLEN) != SASL_OK){ + if (iptostring((struct sockaddr *)&remote, size, ipremoteport, IP_PORT_BUFLEN) != SASL_OK){ dprint (1, (debugfile, "mutt_sasl_client_new: iptostring for remote failed\n")); return -1; } -- 2.40.0