Reformat sftp_get_new_id().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@584 7dcaeef0-15fb-0310-b436-a5af3365683c
Этот коммит содержится в:
родитель
4816afc9e8
Коммит
a0b4b239fb
@ -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){
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user