From a0b4b239fb1e4dd1899a5e8e34c766f018f2972c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 23 Apr 2009 06:59:18 +0000 Subject: Reformat sftp_get_new_id(). git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@584 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/sftp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libssh/sftp.c') diff --git a/libssh/sftp.c b/libssh/sftp.c index 4dd3165..bc7a0d6 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){ -- cgit