repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb2759c
)
nfs-cp: don't leave file_context->url unitialized
author
Peter Lieven
<pl@kamp.de>
Thu, 26 Dec 2013 13:03:57 +0000
(14:03 +0100)
committer
Peter Lieven
<pl@kamp.de>
Thu, 26 Dec 2013 13:03:57 +0000
(14:03 +0100)
Signed-off-by: Peter Lieven <pl@kamp.de>
examples/nfs-cp.c
patch
|
blob
|
blame
|
history
diff --git
a/examples/nfs-cp.c
b/examples/nfs-cp.c
index 4456747059fc9c338b6fd55c2665a37847d1ec28..fe9911de50b6e79c520086ab0413b23db05fd975 100644
(file)
--- a/
examples/nfs-cp.c
+++ b/
examples/nfs-cp.c
@@
-132,6
+132,7
@@
open_file(const char *url, int flags)
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;