mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Modified test so that failing to resolve test server returns an appropriate message but does not return an error code.
This commit is contained in:
parent
9dc06b5ccc
commit
00849a4b7a
@ -102,7 +102,7 @@ main()
|
||||
svc = NC_findtestserver("dts");
|
||||
if(svc == NULL) {
|
||||
fprintf(stderr,"Cannot locate test server\n");
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
strcpy(url,PARAMS);
|
||||
strcat(url,svc);
|
||||
|
Loading…
Reference in New Issue
Block a user