nmh-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] nmh sbr/client.c uip/ftpsbr.c uip/mhlsbr.c


From: Earl Hood
Subject: [Nmh-commits] nmh sbr/client.c uip/ftpsbr.c uip/mhlsbr.c
Date: Sat, 06 Feb 2010 07:47:39 +0000

CVSROOT:        /cvsroot/nmh
Module name:    nmh
Changes by:     Earl Hood <ehood>       10/02/06 07:47:39

Modified files:
        sbr            : client.c 
        uip            : ftpsbr.c mhlsbr.c 

Log message:
        #ifdef AI_ADDRCONFIG since older IPv4-only systems may not define this 
flag,
        causing files that use to not compile.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/sbr/client.c?cvsroot=nmh&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/nmh/uip/ftpsbr.c?cvsroot=nmh&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/nmh/uip/mhlsbr.c?cvsroot=nmh&r1=1.15&r2=1.16

Patches:
Index: sbr/client.c
===================================================================
RCS file: /cvsroot/nmh/nmh/sbr/client.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- sbr/client.c        21 Jan 2009 19:38:36 -0000      1.6
+++ sbr/client.c        6 Feb 2010 07:47:38 -0000       1.7
@@ -2,7 +2,7 @@
 /*
  * client.c -- connect to a server
  *
- * $Id: client.c,v 1.6 2009/01/21 19:38:36 kenh Exp $
+ * $Id: client.c,v 1.7 2010/02/06 07:47:38 ehood Exp $
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -60,7 +60,9 @@
     }
 
     memset(&hints, 0, sizeof(hints));
+#ifdef AI_ADDRCONFIG
     hints.ai_flags = AI_ADDRCONFIG;
+#endif
     hints.ai_family = PF_UNSPEC;
     hints.ai_socktype = SOCK_STREAM;
 

Index: uip/ftpsbr.c
===================================================================
RCS file: /cvsroot/nmh/nmh/uip/ftpsbr.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- uip/ftpsbr.c        16 Jan 2009 02:28:55 -0000      1.6
+++ uip/ftpsbr.c        6 Feb 2010 07:47:38 -0000       1.7
@@ -1,7 +1,7 @@
 /*
  * ftpsbr.c -- simple FTP client library
  *
- * $Id: ftpsbr.c,v 1.6 2009/01/16 02:28:55 kenh Exp $
+ * $Id: ftpsbr.c,v 1.7 2010/02/06 07:47:38 ehood Exp $
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -151,7 +151,9 @@
        struct addrinfo hints, *res;
 
        memset(&hints, 0, sizeof(hints));
+#ifdef AI_ADDRCONFIG
        hints.ai_flags = AI_ADDRCONFIG;
+#endif
        hints.ai_family = PF_INET;
        hints.ai_socktype = SOCK_STREAM;
 

Index: uip/mhlsbr.c
===================================================================
RCS file: /cvsroot/nmh/nmh/uip/mhlsbr.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- uip/mhlsbr.c        4 Feb 2010 01:39:22 -0000       1.15
+++ uip/mhlsbr.c        6 Feb 2010 07:47:38 -0000       1.16
@@ -2,7 +2,7 @@
 /*
  * mhlsbr.c -- main routines for nmh message lister
  *
- * $Id: mhlsbr.c,v 1.15 2010/02/04 01:39:22 ehood Exp $
+ * $Id: mhlsbr.c,v 1.16 2010/02/06 07:47:38 ehood Exp $
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -1544,7 +1544,9 @@
        }
 
        memset(&hints, 0, sizeof(hints));
+#ifdef AI_ADDRCONFIG
        hints.ai_flags = AI_ADDRCONFIG;
+#endif
        hints.ai_family = PF_UNSPEC;
        hints.ai_socktype = SOCK_DGRAM;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]