aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-02-05 18:24:23 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-05 18:24:23 +0100
commit131e3b968ff60b4db71ac4fe02a21e20ccdcd819 (patch)
treed29009ea7bee6503aaa041ea90a1d31086f01e79 /src
parent4bf8ee803282b9d2f6ea11770bab8b8407116b3a (diff)
downloadlibssh-131e3b968ff60b4db71ac4fe02a21e20ccdcd819.tar.gz
libssh-131e3b968ff60b4db71ac4fe02a21e20ccdcd819.tar.xz
libssh-131e3b968ff60b4db71ac4fe02a21e20ccdcd819.zip
sftp: Added missing break's to server.
Diffstat (limited to 'src')
-rw-r--r--src/sftpserver.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sftpserver.c b/src/sftpserver.c
index ac52ebed..3804f47d 100644
--- a/src/sftpserver.c
+++ b/src/sftpserver.c
@@ -62,6 +62,7 @@ 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) {
@@ -92,9 +93,13 @@ 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) {
@@ -109,6 +114,7 @@ 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) {
@@ -128,6 +134,7 @@ 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) {
@@ -159,6 +166,7 @@ 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) {
@@ -487,4 +495,4 @@ void sftp_handle_remove(sftp_session sftp, void *handle) {
}
}
-/* vim: set ts=2 sw=2 et cindent: */
+/* vim: set ts=4 sw=4 et cindent syntax=c.doxygen: */