summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-05-15 13:46:52 +1000
committerDamien Miller <djm@mindrot.org>2014-05-15 13:46:52 +1000
commitb15cd7bb097fd80dc99520f45290ef775da1ef19 (patch)
tree674f7351ce71082bcc52c4eed490fc85d14435ed
parentd8accc0aa72656ba63d50937165c5ae49db1dcd6 (diff)
- logan@cvs.openbsd.org 2014/04/22 10:07:12
[sftp.c] Sort the sftp command list. OK from djm@
-rw-r--r--ChangeLog4
-rw-r--r--sftp.c6
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 @@
11 Implement sftp upload resume support. 11 Implement sftp upload resume support.
12 OK from djm@, with input from guenther@, mlarkin@ and 12 OK from djm@, with input from guenther@, mlarkin@ and
13 okan@ 13 okan@
14 - logan@cvs.openbsd.org 2014/04/22 10:07:12
15 [sftp.c]
16 Sort the sftp command list.
17 OK from djm@
14 18
1520140430 1920140430
16 - (dtucker) [defines.h] Define __GNUC_PREREQ__ macro if we don't already 20 - (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 @@
1/* $OpenBSD: sftp.c,v 1.159 2014/04/21 14:36:16 logan Exp $ */ 1/* $OpenBSD: sftp.c,v 1.160 2014/04/22 10:07:12 logan Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -151,15 +151,15 @@ enum sftp_command {
151 I_PUT, 151 I_PUT,
152 I_PWD, 152 I_PWD,
153 I_QUIT, 153 I_QUIT,
154 I_REGET,
154 I_RENAME, 155 I_RENAME,
156 I_REPUT,
155 I_RM, 157 I_RM,
156 I_RMDIR, 158 I_RMDIR,
157 I_SHELL, 159 I_SHELL,
158 I_SYMLINK, 160 I_SYMLINK,
159 I_VERSION, 161 I_VERSION,
160 I_PROGRESS, 162 I_PROGRESS,
161 I_REGET,
162 I_REPUT
163}; 163};
164 164
165struct CMD { 165struct CMD {