repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some debug residuals from fuse_nfs
[deb_libnfs.git]
/
lib
/
libnfs-zdr.c
diff --git
a/lib/libnfs-zdr.c
b/lib/libnfs-zdr.c
index 5d98706dd79c4533634272ee46681608d2db5568..21cd9e13fe5de2ca0c3f00aa3cf8399b9780b800 100644
(file)
--- a/
lib/libnfs-zdr.c
+++ b/
lib/libnfs-zdr.c
@@
-124,7
+124,7
@@
bool_t libnfs_zdr_u_quad_t(ZDR *zdrs, uint64_t *u)
*u = ntohl(*(uint32_t *)&zdrs->buf[zdrs->pos]);
zdrs->pos += 4;
*u <<= 32;
*u = ntohl(*(uint32_t *)&zdrs->buf[zdrs->pos]);
zdrs->pos += 4;
*u <<= 32;
- *u |= ntohl(*(uint32_t *)&zdrs->buf[zdrs->pos]);
+ *u |=
(uint32_t)
ntohl(*(uint32_t *)&zdrs->buf[zdrs->pos]);
zdrs->pos += 4;
return TRUE;
break;
zdrs->pos += 4;
return TRUE;
break;
@@
-506,7
+506,7
@@
struct AUTH *libnfs_authunix_create(char *host, uint32_t uid, uint32_t gid, uint
struct AUTH *libnfs_authunix_create_default(void)
{
#ifdef WIN32
struct AUTH *libnfs_authunix_create_default(void)
{
#ifdef WIN32
- return libnfs_authunix_create("libnfs", 6553
5, 65535
, 0, NULL);
+ return libnfs_authunix_create("libnfs", 6553
4, 65534
, 0, NULL);
#else
return libnfs_authunix_create("libnfs", getuid(), getgid(), 0, NULL);
#endif
#else
return libnfs_authunix_create("libnfs", getuid(), getgid(), 0, NULL);
#endif