diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | sshfs.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 4201d06..67c5210 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT(sshfs-fuse, 1.1) +AC_INIT(sshfs-fuse, 1.2-pre1) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) @@ -1124,8 +1124,6 @@ static int sshfs_truncate(const char *path, off_t size) buf_free(&handle); } } else { - buf_init(&buf, 0); - buf_add_path(&buf, path); buf_add_uint32(&buf, SSH_FILEXFER_ATTR_SIZE); buf_add_uint64(&buf, size); err = sftp_request(SSH_FXP_SETSTAT, &buf, SSH_FXP_STATUS, NULL); |