diff options
author | mssalvatore <mike.s.salvatore@gmail.com> | 2019-02-25 16:00:53 -0500 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-02-25 21:00:53 +0000 |
commit | fda6c8f8623657de0da31f8025bb5ec389a04be9 (patch) | |
tree | 14e3a7bdfbb3a01d9018f711576326110055bb37 /sshfs.c | |
parent | 6b10b3c8c0654d63b84e18f5b4c21e342788cdc7 (diff) | |
download | sshfs-fda6c8f8623657de0da31f8025bb5ec389a04be9.tar sshfs-fda6c8f8623657de0da31f8025bb5ec389a04be9.tar.gz sshfs-fda6c8f8623657de0da31f8025bb5ec389a04be9.tar.bz2 sshfs-fda6c8f8623657de0da31f8025bb5ec389a04be9.zip |
Update clean_req() to match the definition of GHRFunc (#160)
The current definition of the clean_req() function produces a compiler
warning as it expects 2 parameters but GHRFunc expects 3. This commit
resolves issue #157.
Diffstat (limited to 'sshfs.c')
-rw-r--r-- | sshfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1289,9 +1289,10 @@ static void chunk_put_locked(struct read_chunk *chunk) pthread_mutex_unlock(&sshfs.lock); } -static int clean_req(void *key_, struct request *req) +static int clean_req(void *key_, struct request *req, gpointer user_data_) { (void) key_; + (void) user_data_; req->error = -EIO; if (req->want_reply) |