From owner-svn-src-head@FreeBSD.ORG Mon Oct 20 17:09:51 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F928106566C; Mon, 20 Oct 2008 17:09:51 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F1A7E8FC3A; Mon, 20 Oct 2008 17:09:50 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9KH9omD076172; Mon, 20 Oct 2008 17:09:50 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9KH9ow1076171; Mon, 20 Oct 2008 17:09:50 GMT (envelope-from des@svn.freebsd.org) Message-Id: <200810201709.m9KH9ow1076171@svn.freebsd.org> From: Dag-Erling Smorgrav Date: Mon, 20 Oct 2008 17:09:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184087 - head/lib/libutil X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 17:09:51 -0000 Author: des Date: Mon Oct 20 17:09:50 2008 New Revision: 184087 URL: http://svn.freebsd.org/changeset/base/184087 Log: Additional style and whitespace fixes. Modified: head/lib/libutil/login_times.c Modified: head/lib/libutil/login_times.c ============================================================================== --- head/lib/libutil/login_times.c Mon Oct 20 17:07:50 2008 (r184086) +++ head/lib/libutil/login_times.c Mon Oct 20 17:09:50 2008 (r184087) @@ -137,11 +137,12 @@ in_ltm(const login_time_t *ltm, struct t int in_lt(const login_time_t *ltm, time_t *t) { + return (in_ltm(ltm, localtime(t), t)); } int -in_ltms(const login_time_t *ltm, struct tm * tm, time_t *t) +in_ltms(const login_time_t *ltm, struct tm *tm, time_t *t) { int i = 0; @@ -156,5 +157,6 @@ in_ltms(const login_time_t *ltm, struct int in_lts(const login_time_t *ltm, time_t *t) { + return (in_ltms(ltm, localtime(t), t)); }