repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified mechanism to assign privileged ports and enable it for Windows as well
[deb_libnfs.git]
/
lib
/
init.c
diff --git
a/lib/init.c
b/lib/init.c
index 93c3745db446ae57483466401e8ba4ba4b32c647..4c8f84f42308ea61c131089d4d35cc8d9b670720 100644
(file)
--- a/
lib/init.c
+++ b/
lib/init.c
@@
-77,12
+77,12
@@
struct rpc_context *rpc_init_udp_context(void)
return rpc;
}
return rpc;
}
-void rpc_set_auth(struct rpc_context *rpc,
struct
AUTH *auth)
+void rpc_set_auth(struct rpc_context *rpc, AUTH *auth)
{
if (rpc->auth != NULL) {
auth_destroy(rpc->auth);
}
{
if (rpc->auth != NULL) {
auth_destroy(rpc->auth);
}
- rpc->auth =
(AUTH *)
auth;
+ rpc->auth = auth;
}
}
@@
-138,7
+138,7
@@
void rpc_free_all_fragments(struct rpc_context *rpc)
}
}
}
}
-int rpc_add_fragment(struct rpc_context *rpc, char *data,
size
_t size)
+int rpc_add_fragment(struct rpc_context *rpc, char *data,
uint64
_t size)
{
struct rpc_fragment *fragment;
{
struct rpc_fragment *fragment;