summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-16 13:43:50 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-16 13:43:50 +1100
commitdab129bef57139232133a870430a9284858909bf (patch)
treea9408c7cbca44c5f0b9264f34f6863273ed673ff
parent69371b511b998f2637fdf4bf708e15462162bc0d (diff)
- markus@cvs.openbsd.org 2010/01/15 09:24:23
[sftp-common.c] unused
-rw-r--r--ChangeLog4
-rw-r--r--sftp-common.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 55e8bb1d7..0b533798d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,10 @@
5 and group_from_gid. 5 and group_from_gid.
6 - (dtucker) [openbsd-compat/openbsd-compat.h] Fix prototypes, spotted by 6 - (dtucker) [openbsd-compat/openbsd-compat.h] Fix prototypes, spotted by
7 Tim. 7 Tim.
8 - (dtucker) OpenBSD CVS Sync
9 - markus@cvs.openbsd.org 2010/01/15 09:24:23
10 [sftp-common.c]
11 unused
8 12
920100115 1320100115
10 - (dtucker) OpenBSD CVS Sync 14 - (dtucker) OpenBSD CVS Sync
diff --git a/sftp-common.c b/sftp-common.c
index d015d7549..a042875c6 100644
--- a/sftp-common.c
+++ b/sftp-common.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-common.c,v 1.22 2010/01/14 23:41:49 dtucker Exp $ */ 1/* $OpenBSD: sftp-common.c,v 1.23 2010/01/15 09:24:23 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * Copyright (c) 2001 Damien Miller. All rights reserved. 4 * Copyright (c) 2001 Damien Miller. All rights reserved.
@@ -190,8 +190,6 @@ char *
190ls_file(const char *name, const struct stat *st, int remote, int si_units) 190ls_file(const char *name, const struct stat *st, int remote, int si_units)
191{ 191{
192 int ulen, glen, sz = 0; 192 int ulen, glen, sz = 0;
193 struct passwd *pw;
194 struct group *gr;
195 struct tm *ltime = localtime(&st->st_mtime); 193 struct tm *ltime = localtime(&st->st_mtime);
196 char *user, *group; 194 char *user, *group;
197 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; 195 char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1];