1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-aq,v 1.2 2002/07/06 19:05:54 tv Exp $
--- ifcico/zmsend.c.orig Sun Jul 5 16:17:34 1998
+++ ifcico/zmsend.c Sat Jul 6 15:09:02 2002
@@ -49,7 +49,7 @@
static int Lzconv=0;
static int Beenhereb4;
static char Myattn[]={0};
-static long startime,endtime;
+static time_t startime,endtime;
static long skipsize;
extern void get_frame_buffer(void);
@@ -107,7 +107,7 @@
static int finsend(void)
{
- int i,rc;
+ int i,rc = ZFIN;
debug(DBG_PROTOCOL, "finsend");
while (GETCHAR(1) >= 0) /*nothing*/;
@@ -162,7 +162,7 @@
sprintf(txbuf,"%s %lu %lo %o 0 0 0",
rn, (unsigned long) st.st_size,
- st.st_mtime+(st.st_mtime%2),
+ (unsigned long)(st.st_mtime+(st.st_mtime%2)),
st.st_mode);
bufl=strlen(txbuf);
*(strchr(txbuf,' '))='\0'; /*hope no blanks in filename*/
|