Skip to content

Commit

Permalink
Merge branch 'mingw-w64-name_path' of https://github.com/mjwoods/netc…
Browse files Browse the repository at this point in the history
…df-c into gh2104.wif
  • Loading branch information
WardF committed Mar 14, 2022
2 parents 8152a51 + 2a66599 commit 5856b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncdump/ncdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ name_path(const char *path)
size_t cplen = 0;
char* base = NULL;

if((cvtpath = NCpathcvt(path))==NULL)
if (NCpathcanonical(path, &cvtpath) || cvtpath==NULL)
return NULL;

/* See if this is a url */
Expand Down

0 comments on commit 5856b8e

Please sign in to comment.