repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f9166
)
libnfs.c: Fix a warning
author
Ross Lagerwall
<rosslagerwall@gmail.com>
Sun, 27 Jul 2014 17:06:12 +0000
(18:06 +0100)
committer
Ross Lagerwall
<rosslagerwall@gmail.com>
Sun, 27 Jul 2014 20:22:34 +0000
(21:22 +0100)
Signed-off-by: Ross Lagerwall <rosslagerwall@gmail.com>
lib/libnfs.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index c25ae2d66dbd85c9651459dd1c2a171089e80c7e..3115a686198b31d68a920bbb473d117f33a0cae7 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-2727,7
+2727,7
@@
static void nfs_create_2_cb(struct rpc_context *rpc, int status, void *command_d
data->cb(-ENOMEM, nfs, rpc_get_error(nfs->rpc), data->private_data);
free_nfs_cb_data(data);
free(nfsfh);
- return
-1
;
+ return;
}
memcpy(nfsfh->fh.data.data_val, res->LOOKUP3res_u.resok.object.data.data_val, nfsfh->fh.data.data_len);