c1b1498696a7c7229bc659c062449b77e731272a galt Sun Jul 4 10:31:21 2010 -0700 return FALSE instead of errAbort; if downloaded size not equal to fileSize, return FALSE diff --git src/lib/net.c src/lib/net.c index 9880aff..e10c374 100644 --- src/lib/net.c +++ src/lib/net.c @@ -1460,7 +1460,8 @@ } else { - errAbort("unrecognized protocol: %s", url); + warn("unrecognized protocol: %s", url); + return FALSE; } verbose(2,"fileSize=%lld\n", (long long) fileSize); fflush(stderr); //debug @@ -1752,6 +1753,7 @@ warn("Unexpected result: Total downloaded bytes %lld is not equal to fileSize %lld" , (long long) totalDownloaded , (long long) fileSize); + return FALSE; } return TRUE; }