summaryrefslogtreecommitdiff
path: root/pgfuse.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-20 11:09:02 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-20 11:09:02 +0200
commit7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa (patch)
tree46bf833c57aaae9720084b107cd2f4f7e3a1fc84 /pgfuse.c
parentc6ed5885ba8841a746c98a79635998c8890e73f1 (diff)
downloadpgfuse-7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa.tar.gz
pgfuse-7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa.tar.bz2
fixed some nasty bugs
Diffstat (limited to 'pgfuse.c')
-rw-r--r--pgfuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgfuse.c b/pgfuse.c
index 307e0c3..606f44e 100644
--- a/pgfuse.c
+++ b/pgfuse.c
@@ -849,7 +849,7 @@ static int pgfuse_read( const char *path, char *buf, size_t size,
PSQL_COMMIT( conn ); RELEASE( conn );
- return size;
+ return res;
}
static int pgfuse_truncate( const char* path, off_t offset )