summaryrefslogtreecommitdiff
path: root/comms/ifcico-cm/patches/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'comms/ifcico-cm/patches/patch-as')
-rw-r--r--comms/ifcico-cm/patches/patch-as17
1 files changed, 13 insertions, 4 deletions
diff --git a/comms/ifcico-cm/patches/patch-as b/comms/ifcico-cm/patches/patch-as
index bda40ebf01e..f85dd4e91d1 100644
--- a/comms/ifcico-cm/patches/patch-as
+++ b/comms/ifcico-cm/patches/patch-as
@@ -1,14 +1,23 @@
-$NetBSD: patch-as,v 1.1 1998/12/21 15:45:21 tv Exp $
+$NetBSD: patch-as,v 1.2 2001/02/21 18:50:37 tv Exp $
---- ifcico/tcpproto.c.orig Mon Dec 21 09:57:54 1998
-+++ ifcico/tcpproto.c Mon Dec 21 09:58:29 1998
+--- ifcico/tcpproto.c.orig Sun Dec 29 10:26:28 1996
++++ ifcico/tcpproto.c Wed Feb 21 10:55:13 2001
@@ -31,7 +31,8 @@
static char txbuf[2048];
static char rxbuf[2048];
static int rx_type;
-static long startime,endtime,rxbytes,sbytes;
+static time_t startime,endtime;
-+static long rxbytes,sbytes;
++static off_t rxbytes,sbytes;
static int sendfile(char *,char *);
static int finsend(void);
+@@ -175,7 +176,7 @@
+ }
+
+ sprintf(txbuf,"S %s %lu %lu",
+- rn,st.st_size, (unsigned long) st.st_mtime);
++ rn, (unsigned long)st.st_size, (unsigned long)st.st_mtime);
+ bufl=strlen(txbuf);
+ rc=tcp_sblk(txbuf,bufl,TCP_CMD);
+ rc=tcp_rblk(rxbuf,&bufl);