]> granicus.if.org Git - mutt/commitdiff
Back out part of the previous SASL/IPv6 patch due to portability
authorRobert Schiele <robert.schiele@t-online.de>
Mon, 5 Jan 2004 11:55:14 +0000 (11:55 +0000)
committerRobert Schiele <robert.schiele@t-online.de>
Mon, 5 Jan 2004 11:55:14 +0000 (11:55 +0000)
issues.

mutt_sasl.c

index 329f42e65bd255aacca3cabaf959a312c2d7d7a3..6a201377cc3975ccfb152d0b27d17b48b916cb09 100644 (file)
@@ -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;
   }