<<< Date Index >>>     <<< Thread Index >>>

[PATCH] close 1516



This trivial patch closes #1516 (NI_WITHSCOPEID undefined). Thanks to
Mads for the initial patch.

-b
Index: mutt_sasl.c
===================================================================
RCS file: /home/roessler/cvs/mutt/mutt_sasl.c,v
retrieving revision 3.3
diff -u -p -r3.3 mutt_sasl.c
--- mutt_sasl.c 7 Mar 2003 14:55:53 -0000       3.3
+++ mutt_sasl.c 11 Sep 2003 16:41:57 -0000
@@ -68,7 +68,11 @@ static int iptostring(const struct socka
     if(!addr || !out) return SASL_BADPARAM;
 
     getnameinfo(addr, addrlen, hbuf, sizeof(hbuf), pbuf, sizeof(pbuf),
-                NI_NUMERICHOST | NI_WITHSCOPEID | NI_NUMERICSERV);
+                NI_NUMERICHOST |
+#ifdef NI_WITHSCOPEID
+               NI_WITHSCOPEID |
+#endif
+               NI_NUMERICSERV);
 
     if(outlen < strlen(hbuf) + strlen(pbuf) + 2)
         return SASL_BUFOVER;

Attachment: pgpSTzlDqT0gX.pgp
Description: PGP signature