changeset 339:542a3e8708f9

2003-12-10 Brian Masney <masneyb@gftp.org> * lib/rfc959.c - fix IPv6 compile problem when IPv6 support is not available on the system.
author masneyb
date Sat, 13 Dec 2003 21:01:50 +0000
parents 0f34108f27b7
children c45fdcb87667
files ChangeLog lib/rfc959.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Dec 13 20:52:14 2003 +0000
+++ b/ChangeLog	Sat Dec 13 21:01:50 2003 +0000
@@ -1,4 +1,7 @@
 2003-12-10 Brian Masney <masneyb@gftp.org>
+	* lib/rfc959.c - fix IPv6 compile problem when IPv6 support is not
+	available on the system.
+
 	* lib/gftp.h src/text/gftp-text.h src/gtk/gftp-gtk.h - added
 	GFTP_LOG_FUNCTION_ATTRIBUTES that is only defined when compiled
 	against gcc. When this is set, it will specify the function is
@@ -1840,7 +1843,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.185 2003/12/13 20:52:12 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.186 2003/12/13 21:01:49 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/lib/rfc959.c	Sat Dec 13 20:52:14 2003 +0000
+++ b/lib/rfc959.c	Sat Dec 13 21:01:50 2003 +0000
@@ -933,9 +933,9 @@
   intptr_t passive_transfer;
   rfc959_parms * parms;
 #ifdef HAVE_IPV6
-  struct sockaddr_in cli_addr;
+  struct sockaddr_in6 cli_addr;
 #else
-  struct sockaddr_in6 cli_addr;
+  struct sockaddr_in cli_addr;
 #endif
   socklen_t cli_addr_len;