summaryrefslogtreecommitdiff
path: root/security/krb5-appl/files/patch-aj
blob: c3bb8dfd6960eaac5f6286d3ef123bb3fb2af2b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** appl/gssftp/ftpd/logwtmp.c.ORIG	Fri Feb  6 19:41:25 1998
--- appl/gssftp/ftpd/logwtmp.c	Tue Jun 30 19:46:01 1998
***************
*** 66,72 ****
  	struct stat buf;
  	time_t time();
  
! 	if (fd < 0 && (fd = open(WTMPFILE, O_WRONLY|O_APPEND, 0)) < 0)
  		return;
  	if (fstat(fd, &buf) == 0) {
  		(void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
--- 66,72 ----
  	struct stat buf;
  	time_t time();
  
! 	if (fd < 0 && (fd = open(WTMP_FILE, O_WRONLY|O_APPEND, 0)) < 0)
  		return;
  	if (fstat(fd, &buf) == 0) {
  		(void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));