Skip to content
Snippets Groups Projects
Commit 27a7df71 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Replace CURLINFO_SIZE_DOWNLOAD by CURLINFO_SIZE_DOWNLOAD_T

parent 79c4bd14
No related branches found
No related tags found
1 merge request!21M214003/develop
Pipeline #32954 passed
......@@ -43,7 +43,7 @@ case "${HOSTNAME}" in
--with-proj=/opt/local/lib/proj7 \
--with-szlib=/opt/local/lib/libaec \
--with-magics=/opt/local "
LDFLAGS="-Wl,-rpath,$HOME/local/eccodes-2.30.0/lib -L/opt/local/lib -ljson-c -lhdf5"
LDFLAGS="-Wl,-rpath,$HOME/local/eccodes-2.30.0/lib -L/opt/local/lib -ljson-c"
if test "$COMP" = intel ; then
${CONFPATH}configure \
......
......@@ -95,7 +95,7 @@ downloadGridfile(const char *uri, const char *basename)
if (strstr(ctype, "html") == nullptr) // no html content
{
double length;
curl_easy_getinfo(hd, CURLINFO_SIZE_DOWNLOAD, &length);
curl_easy_getinfo(hd, CURLINFO_SIZE_DOWNLOAD_T, &length);
if (gridVerbose) cdo_print("File %s downloaded - size: %.0lf byte", basename, length);
rval = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment