nfs-cp: don't leave file_context->url unitialized
Signed-off-by: Peter Lieven <pl@kamp.de>libnfs-4.0.0-vitalif
parent
eb2759c62b
commit
22fbc5dad8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue