diff options
author | mssalvatore <mike.s.salvatore@gmail.com> | 2019-02-14 15:40:32 -0500 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-02-14 20:40:32 +0000 |
commit | b2d857308e5c764f0c1beada7533e629bae87bf2 (patch) | |
tree | 18b28ce9a13700656a400ef5de6e9b6a1a6bb7a5 /sshfs.c | |
parent | 813b75b8c2577a4d5b08eb38f7b3a9c3dd200495 (diff) | |
download | sshfs-b2d857308e5c764f0c1beada7533e629bae87bf2.tar sshfs-b2d857308e5c764f0c1beada7533e629bae87bf2.tar.gz sshfs-b2d857308e5c764f0c1beada7533e629bae87bf2.tar.bz2 sshfs-b2d857308e5c764f0c1beada7533e629bae87bf2.zip |
Update clean_req() to match the definition of GHRFunc (#158)
The current definition of the clean_req() function produces a compiler
warning as it expects 2 parameters but GHRFunc expects 3. T
Fixes: #157
Diffstat (limited to 'sshfs.c')
-rw-r--r-- | sshfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1267,9 +1267,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) |