svn commit: lorikeet r306 - in trunk/heimdal/appl/telnet/telnetd: .
abartlet at samba.org
abartlet at samba.org
Fri May 20 08:40:58 GMT 2005
Author: abartlet
Date: 2005-05-20 08:40:58 +0000 (Fri, 20 May 2005)
New Revision: 306
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=306
Log:
Patch from lha to fix C99-only issues (declaration after statement).
Andrew Bartlett
Modified:
trunk/heimdal/appl/telnet/telnetd/sys_term.c
Changeset:
Modified: trunk/heimdal/appl/telnet/telnetd/sys_term.c
===================================================================
--- trunk/heimdal/appl/telnet/telnetd/sys_term.c 2005-05-20 08:31:15 UTC (rev 305)
+++ trunk/heimdal/appl/telnet/telnetd/sys_term.c 2005-05-20 08:40:58 UTC (rev 306)
@@ -33,7 +33,7 @@
#include "telnetd.h"
-RCSID("$Id: sys_term.c,v 1.110 2005/05/13 14:20:38 joda Exp $");
+RCSID("$Id: sys_term.c,v 1.111 2005/05/20 08:35:51 lha Exp $");
#if defined(_CRAY) || (defined(__hpux) && !defined(HAVE_UTMPX_H))
# define PARENT_DOES_UTMP
@@ -1295,6 +1295,7 @@
#endif
#ifdef HAVE_UTMPX_H
+ {
int pid = getpid();
struct utmpx utmpx;
char *clean_tty;
@@ -1317,6 +1318,7 @@
gettimeofday (&utmpx.ut_tv, NULL);
if (pututxline(&utmpx) == NULL)
fatal(net, "pututxline failed");
+ }
#endif
scrub_env();
More information about the samba-cvs
mailing list