- djm@cvs.openbsd.org 2004/08/11 12:01:16
[sshlogin.c] make store_lastlog_message() static to appease -Wall; ok markus
This commit is contained in:
parent
9c5049a40f
commit
133b757357
|
@ -22,6 +22,9 @@
|
||||||
[sshlogin.c]
|
[sshlogin.c]
|
||||||
check that lseek went were we told it to; ok markus@
|
check that lseek went were we told it to; ok markus@
|
||||||
(Id sync only, but similar changes are needed in loginrec.c)
|
(Id sync only, but similar changes are needed in loginrec.c)
|
||||||
|
- djm@cvs.openbsd.org 2004/08/11 12:01:16
|
||||||
|
[sshlogin.c]
|
||||||
|
make store_lastlog_message() static to appease -Wall; ok markus
|
||||||
|
|
||||||
20040720
|
20040720
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
@ -1589,4 +1592,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3495 2004/08/12 12:49:00 dtucker Exp $
|
$Id: ChangeLog,v 1.3496 2004/08/12 12:50:03 dtucker Exp $
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: sshlogin.c,v 1.11 2004/08/11 11:59:22 djm Exp $");
|
RCSID("$OpenBSD: sshlogin.c,v 1.12 2004/08/11 12:01:16 djm Exp $");
|
||||||
|
|
||||||
#include "loginrec.h"
|
#include "loginrec.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
@ -69,7 +69,7 @@ get_last_login_time(uid_t uid, const char *logname,
|
||||||
* Generate and store last login message. This must be done before
|
* Generate and store last login message. This must be done before
|
||||||
* login_login() is called and lastlog is updated.
|
* login_login() is called and lastlog is updated.
|
||||||
*/
|
*/
|
||||||
void
|
static void
|
||||||
store_lastlog_message(const char *user, uid_t uid)
|
store_lastlog_message(const char *user, uid_t uid)
|
||||||
{
|
{
|
||||||
char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512];
|
char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512];
|
||||||
|
|
Loading…
Reference in New Issue