kill bad cast
This commit is contained in:
parent
550e226388
commit
c889ba6f68
@ -42,7 +42,7 @@ char copyright[] =
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
/*static char sccsid[] = "from: @(#)uucpd.c 5.10 (Berkeley) 2/26/91";*/
|
/*static char sccsid[] = "from: @(#)uucpd.c 5.10 (Berkeley) 2/26/91";*/
|
||||||
static char rcsid[] = "$Id: uucpd.c,v 1.2 1993/08/01 18:31:13 mycroft Exp $";
|
static char rcsid[] = "$Id: uucpd.c,v 1.3 1994/04/01 03:51:44 cgd Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -282,7 +282,7 @@ struct sockaddr_in *sin;
|
|||||||
struct lastlog ll;
|
struct lastlog ll;
|
||||||
|
|
||||||
time(&ll.ll_time);
|
time(&ll.ll_time);
|
||||||
lseek(f, (long)pw->pw_uid * sizeof(struct lastlog), 0);
|
lseek(f, pw->pw_uid * sizeof(struct lastlog), 0);
|
||||||
strcpy(line, remotehost);
|
strcpy(line, remotehost);
|
||||||
SCPYN(ll.ll_line, line);
|
SCPYN(ll.ll_line, line);
|
||||||
SCPYN(ll.ll_host, remotehost);
|
SCPYN(ll.ll_host, remotehost);
|
||||||
|
Loading…
Reference in New Issue
Block a user