repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ZDR: remove dependency on zdr.h from the examples and nfs-ls
[deb_libnfs.git]
/
examples
/
nfs-cp.c
diff --git
a/examples/nfs-cp.c
b/examples/nfs-cp.c
index 4456747059fc9c338b6fd55c2665a37847d1ec28..bbd136a91c1dbddfbf4f7123df0ded70ac02b74a 100644
(file)
--- a/
examples/nfs-cp.c
+++ b/
examples/nfs-cp.c
@@
-49,7
+49,6
@@
WSADATA wsaData;
#include <stdint.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdint.h>
#include <sys/types.h>
#include <fcntl.h>
-#include "libnfs-zdr.h"
#include "libnfs.h"
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"
#include "libnfs.h"
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"
@@
-132,6
+131,7
@@
open_file(const char *url, int flags)
file_context->fd = -1;
file_context->nfs = NULL;
file_context->nfsfh = NULL;
file_context->fd = -1;
file_context->nfs = NULL;
file_context->nfsfh = NULL;
+ file_context->url = NULL;
if (strncmp(url, "nfs://", 6)) {
file_context->is_nfs = 0;
if (strncmp(url, "nfs://", 6)) {
file_context->is_nfs = 0;