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
/
init.c
diff --git
a/lib/init.c
b/lib/init.c
index 09ab61c7ef50f9c7a64bc9df035bc05c9dc82cbd..2a451a16d51f4282b76b40f0d32ee416aae72ef0 100644
(file)
--- a/
lib/init.c
+++ b/
lib/init.c
@@
-21,15
+21,18
@@
#ifdef WIN32
#include "win32_compat.h"
#ifdef WIN32
#include "win32_compat.h"
-#else
-#include <strings.h>
-#endif/*WIN32*/
+#endif
+
#define _GNU_SOURCE
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#define _GNU_SOURCE
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
@@
-67,7
+70,7
@@
struct rpc_context *rpc_init_context(void)
free(rpc);
return NULL;
}
free(rpc);
return NULL;
}
- rpc->xid = salt + time(NULL);
+ rpc->xid = salt + time(NULL)
+ getpid() << 16
;
salt += 0x01000000;
rpc->fd = -1;
salt += 0x01000000;
rpc->fd = -1;