mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
Reformat sftp tell and seek functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@606 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -1765,13 +1765,13 @@ int sftp_seek64(SFTP_FILE *file, u64 new_offset) {
|
||||
}
|
||||
|
||||
/* Report current byte position in file. */
|
||||
unsigned long sftp_tell(SFTP_FILE *file){
|
||||
return file->offset;
|
||||
unsigned long sftp_tell(SFTP_FILE *file) {
|
||||
return file->offset;
|
||||
}
|
||||
|
||||
/* Rewinds the position of the file pointer to the beginning of the file.*/
|
||||
void sftp_rewind(SFTP_FILE *file){
|
||||
file->offset=0;
|
||||
void sftp_rewind(SFTP_FILE *file) {
|
||||
file->offset = 0;
|
||||
}
|
||||
|
||||
/* deprecated */
|
||||
|
||||
Reference in New Issue
Block a user