X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fnfs-cp.c;h=fe9911de50b6e79c520086ab0413b23db05fd975;hb=22fbc5dad8a1d5a136c37db6299dd40f1878802c;hp=4456747059fc9c338b6fd55c2665a37847d1ec28;hpb=eb2759c62be28de9811da9e9436892190c0e1caa;p=deb_libnfs.git diff --git a/examples/nfs-cp.c b/examples/nfs-cp.c index 4456747..fe9911d 100644 --- 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;