aboutsummaryrefslogtreecommitdiff
path: root/libssh/sftp.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-24 12:49:59 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-24 12:49:59 +0000
commit4a383ab3cfeb39e011eed4c3b786a9c25681265b (patch)
tree6c66ce6a01a05b46267bc27b4d29bb10f72bafa7 /libssh/sftp.c
parentcefe2399587e7d7656188a570546ee848ee1fcfc (diff)
downloadlibssh-4a383ab3cfeb39e011eed4c3b786a9c25681265b.tar.gz
libssh-4a383ab3cfeb39e011eed4c3b786a9c25681265b.tar.xz
libssh-4a383ab3cfeb39e011eed4c3b786a9c25681265b.zip
Reformat sftp tell and seek functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@606 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/sftp.c')
-rw-r--r--libssh/sftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libssh/sftp.c b/libssh/sftp.c
index 26e1b1ff..dbdd57df 100644
--- a/libssh/sftp.c
+++ b/libssh/sftp.c
@@ -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 */