aboutsummaryrefslogtreecommitdiff
path: root/libssh/sftp.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-23 06:59:18 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-23 06:59:18 +0000
commita0b4b239fb1e4dd1899a5e8e34c766f018f2972c (patch)
treec2a18cb6d4481b6ca6e3196f848da64d5740a1eb /libssh/sftp.c
parent4816afc9e891a99b9684c4eab448c3e350d086bf (diff)
downloadlibssh-a0b4b239fb1e4dd1899a5e8e34c766f018f2972c.tar.gz
libssh-a0b4b239fb1e4dd1899a5e8e34c766f018f2972c.tar.xz
libssh-a0b4b239fb1e4dd1899a5e8e34c766f018f2972c.zip
Reformat sftp_get_new_id().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@584 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/sftp.c')
-rw-r--r--libssh/sftp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libssh/sftp.c b/libssh/sftp.c
index 4dd3165b..bc7a0d6e 100644
--- a/libssh/sftp.c
+++ b/libssh/sftp.c
@@ -571,11 +571,12 @@ static SFTP_MESSAGE *sftp_dequeue(SFTP_SESSION *sftp, u32 id){
}
/*
- * Assigns a new sftp ID for new requests and assures there is no collision between them.
+ * Assigns a new SFTP ID for new requests and assures there is no collision
+ * between them.
* Returns a new ID ready to use in a request
*/
-static inline u32 sftp_get_new_id(SFTP_SESSION *session){
- return ++session->id_counter;
+static inline u32 sftp_get_new_id(SFTP_SESSION *session) {
+ return ++session->id_counter;
}
static STATUS_MESSAGE *parse_status_msg(SFTP_MESSAGE *msg){