From b15cd7bb097fd80dc99520f45290ef775da1ef19 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 15 May 2014 13:46:52 +1000 Subject: [PATCH] - logan@cvs.openbsd.org 2014/04/22 10:07:12 [sftp.c] Sort the sftp command list. OK from djm@ --- ChangeLog | 4 ++++ sftp.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 011e8f995..7ed4bd4f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,10 @@ Implement sftp upload resume support. OK from djm@, with input from guenther@, mlarkin@ and okan@ + - logan@cvs.openbsd.org 2014/04/22 10:07:12 + [sftp.c] + Sort the sftp command list. + OK from djm@ 20140430 - (dtucker) [defines.h] Define __GNUC_PREREQ__ macro if we don't already diff --git a/sftp.c b/sftp.c index e74bed5e0..9af3131b8 100644 --- a/sftp.c +++ b/sftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.159 2014/04/21 14:36:16 logan Exp $ */ +/* $OpenBSD: sftp.c,v 1.160 2014/04/22 10:07:12 logan Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller * @@ -151,15 +151,15 @@ enum sftp_command { I_PUT, I_PWD, I_QUIT, + I_REGET, I_RENAME, + I_REPUT, I_RM, I_RMDIR, I_SHELL, I_SYMLINK, I_VERSION, I_PROGRESS, - I_REGET, - I_REPUT }; struct CMD {