diff --git a/ChangeLog b/ChangeLog index 42ddf779a..0a733c295 100644 --- a/ChangeLog +++ b/ChangeLog @@ -38,6 +38,9 @@ - stevesk@cvs.openbsd.org 2007/01/03 04:09:15 [sftp.c] ARGSUSED for lint + - stevesk@cvs.openbsd.org 2007/01/03 07:22:36 + [sftp-server.c] + spaces 20061205 - (djm) [auth.c] Fix NULL pointer dereference in fakepw(). Crash would @@ -2658,4 +2661,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.4601 2007/01/05 05:30:41 djm Exp $ +$Id: ChangeLog,v 1.4602 2007/01/05 05:31:02 djm Exp $ diff --git a/sftp-server.c b/sftp-server.c index c57958b0f..64777beff 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-server.c,v 1.70 2006/08/03 03:34:42 deraadt Exp $ */ +/* $OpenBSD: sftp-server.c,v 1.71 2007/01/03 07:22:36 stevesk Exp $ */ /* * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. * @@ -663,7 +663,7 @@ process_fstat(void) debug("request %u: fstat \"%s\" (handle %u)", id, handle_to_name(handle), handle); fd = handle_to_fd(handle); - if (fd >= 0) { + if (fd >= 0) { ret = fstat(fd, &st); if (ret < 0) { status = errno_to_portable(errno);