diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-23 06:59:18 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-23 06:59:18 +0000 |
commit | a0b4b239fb1e4dd1899a5e8e34c766f018f2972c (patch) | |
tree | c2a18cb6d4481b6ca6e3196f848da64d5740a1eb /libssh/sftp.c | |
parent | 4816afc9e891a99b9684c4eab448c3e350d086bf (diff) | |
download | libssh-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.c | 7 |
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){ |