aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-02-05 18:40:00 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-05 18:40:00 +0100
commit03b387cf47bf74f63a84b2ac4e9c91f35a6580f9 (patch)
treeb2e8c9cb973cfdcd5d7be880f4d4eeff5a0ec1dd /src
parent131e3b968ff60b4db71ac4fe02a21e20ccdcd819 (diff)
downloadlibssh-03b387cf47bf74f63a84b2ac4e9c91f35a6580f9.tar.gz
libssh-03b387cf47bf74f63a84b2ac4e9c91f35a6580f9.tar.xz
libssh-03b387cf47bf74f63a84b2ac4e9c91f35a6580f9.zip
Revert "sftp: Added missing break's to server."
This reverts commit 131e3b968ff60b4db71ac4fe02a21e20ccdcd819.
Diffstat (limited to 'src')
-rw-r--r--src/sftpserver.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/sftpserver.c b/src/sftpserver.c
index 3804f47d..ac52ebed 100644
--- a/src/sftpserver.c
+++ b/src/sftpserver.c
@@ -62,7 +62,6 @@ sftp_client_message sftp_get_client_message(sftp_session sftp) {
switch(msg->type) {
case SSH_FXP_CLOSE:
- break;
case SSH_FXP_READDIR:
msg->handle = buffer_get_ssh_string(payload);
if (msg->handle == NULL) {
@@ -93,13 +92,9 @@ sftp_client_message sftp_get_client_message(sftp_session sftp) {
}
break;
case SSH_FXP_REMOVE:
- break;
case SSH_FXP_RMDIR:
- break;
case SSH_FXP_OPENDIR:
- break;
case SSH_FXP_READLINK:
- break;
case SSH_FXP_REALPATH:
tmp = buffer_get_ssh_string(payload);
if (tmp == NULL) {
@@ -114,7 +109,6 @@ sftp_client_message sftp_get_client_message(sftp_session sftp) {
}
break;
case SSH_FXP_RENAME:
- break;
case SSH_FXP_SYMLINK:
tmp = buffer_get_ssh_string(payload);
if (tmp == NULL) {
@@ -134,7 +128,6 @@ sftp_client_message sftp_get_client_message(sftp_session sftp) {
}
break;
case SSH_FXP_MKDIR:
- break;
case SSH_FXP_SETSTAT:
tmp = buffer_get_ssh_string(payload);
if (tmp == NULL) {
@@ -166,7 +159,6 @@ sftp_client_message sftp_get_client_message(sftp_session sftp) {
}
break;
case SSH_FXP_LSTAT:
- break;
case SSH_FXP_STAT:
tmp = buffer_get_ssh_string(payload);
if (tmp == NULL) {
@@ -495,4 +487,4 @@ void sftp_handle_remove(sftp_session sftp, void *handle) {
}
}
-/* vim: set ts=4 sw=4 et cindent syntax=c.doxygen: */
+/* vim: set ts=2 sw=2 et cindent: */