1
1

Reformat sftp tell and seek functions.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@606 7dcaeef0-15fb-0310-b436-a5af3365683c
Этот коммит содержится в:
Andreas Schneider 2009-04-24 12:49:59 +00:00
родитель cefe239958
Коммит 4a383ab3cf

Просмотреть файл

@ -1765,13 +1765,13 @@ int sftp_seek64(SFTP_FILE *file, u64 new_offset) {
} }
/* Report current byte position in file. */ /* Report current byte position in file. */
unsigned long sftp_tell(SFTP_FILE *file){ unsigned long sftp_tell(SFTP_FILE *file) {
return file->offset; return file->offset;
} }
/* Rewinds the position of the file pointer to the beginning of the file.*/ /* Rewinds the position of the file pointer to the beginning of the file.*/
void sftp_rewind(SFTP_FILE *file){ void sftp_rewind(SFTP_FILE *file) {
file->offset=0; file->offset = 0;
} }
/* deprecated */ /* deprecated */