This commit is contained in:
Alexander Mohr 2017-04-27 22:38:18 -07:00
parent 674d212e6b
commit 90609f60ab

View File

@ -1810,7 +1810,7 @@ NC_open(const char *path0, int cmode,
NC* ncp = NULL;
NC_Dispatch* dispatcher = NULL;
int inmemory = ((cmode & NC_INMEMORY) == NC_INMEMORY);
int diskless = ((flags & NC_DISKLESS) == NC_DISKLESS);
int diskless = ((cmode & NC_DISKLESS) == NC_DISKLESS);
/* Need pieces of information for now to decide model*/
int model = 0;
int isurl = 0;