repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix compiler warning
[deb_libnfs.git]
/
lib
/
libnfs-zdr.c
diff --git
a/lib/libnfs-zdr.c
b/lib/libnfs-zdr.c
index 315aa0afd7f45eb04bd155d5aba8cf6c09c8828e..a159632b989e047cb06e622ffb93ab1d98884414 100644
(file)
--- a/
lib/libnfs-zdr.c
+++ b/
lib/libnfs-zdr.c
@@
-30,6
+30,8
@@
struct opaque_auth _null_auth;
bool_t libnfs_zdr_setpos(ZDR *zdrs, uint32_t pos)
{
zdrs->pos = pos;
bool_t libnfs_zdr_setpos(ZDR *zdrs, uint32_t pos)
{
zdrs->pos = pos;
+
+ return TRUE;
}
uint32_t libnfs_zdr_getpos(ZDR *zdrs)
}
uint32_t libnfs_zdr_getpos(ZDR *zdrs)
@@
-284,7
+286,7
@@
static bool_t libnfs_opaque_auth(ZDR *zdrs, struct opaque_auth *auth)
return FALSE;
}
return FALSE;
}
- if (!libnfs_zdr_bytes(zdrs, &auth->oa_base, &auth->oa_length,
&
auth->oa_length)) {
+ if (!libnfs_zdr_bytes(zdrs, &auth->oa_base, &auth->oa_length, auth->oa_length)) {
return FALSE;
}
return FALSE;
}
@@
-316,6
+318,8
@@
static bool_t libnfs_rpc_call_body(ZDR *zdrs, struct call_body *cmb)
if (!libnfs_opaque_auth(zdrs, &cmb->cb_verf)) {
return FALSE;
}
if (!libnfs_opaque_auth(zdrs, &cmb->cb_verf)) {
return FALSE;
}
+
+ return TRUE;
}
static bool_t libnfs_accepted_reply(ZDR *zdrs, struct accepted_reply *ar)
}
static bool_t libnfs_accepted_reply(ZDR *zdrs, struct accepted_reply *ar)