aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-10-17 12:58:58 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-10-17 12:58:58 +0000
commit42076a857537c2416820421c4fba335f16edaa39 (patch)
tree83360d03f4aa6ddaeb8f89c79a0e53685029749b
parent0358c96422e74786ec03b914baab4195e38a50f5 (diff)
downloadsshfs-42076a857537c2416820421c4fba335f16edaa39.tar
sshfs-42076a857537c2416820421c4fba335f16edaa39.tar.gz
sshfs-42076a857537c2416820421c4fba335f16edaa39.tar.bz2
sshfs-42076a857537c2416820421c4fba335f16edaa39.zip
whitespace cleanup
-rw-r--r--sshfs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sshfs.c b/sshfs.c
index eca3369..e0b8b99 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -844,7 +844,6 @@ static void *process_requests(void *data_)
g_hash_table_foreach_remove(reqtab, (GHRFunc) clean_req, NULL);
connver ++;
pthread_mutex_unlock(&lock);
-
}
return NULL;
}
@@ -1574,10 +1573,10 @@ static int sshfs_read(const char *path, char *rbuf, size_t size, off_t offset,
{
struct sshfs_file *sf = (struct sshfs_file *) fi->fh;
(void) path;
-
+
if (!sshfs_file_is_conn(sf))
return -EIO;
-
+
if (sync_read)
return sshfs_sync_read(sf, rbuf, size, offset);
else
@@ -1619,7 +1618,7 @@ static int sshfs_write(const char *path, const char *wbuf, size_t size,
struct buffer *handle = &sf->handle;
(void) path;
-
+
if (!sshfs_file_is_conn(sf))
return -EIO;