This commit is contained in:
Dennis Heimbigner 2023-04-28 15:26:21 -06:00
parent c2f3b6ee84
commit 2eb131f516
2 changed files with 3 additions and 5 deletions

View File

@ -109,7 +109,7 @@
* 2 -> in addition to above, print information for all performs; sets all
* curl handles with CURLOPT_VERBOSE
*/
#define S3COMMS_CURL_VERBOSITY 0
#define S3COMMS_CURL_VERBOSITY 1
/* Apparently Apple/OSX C Compiler does not (yet) accept __VA_OPT__(,),
so we have to case it out (ugh!)

View File

@ -181,16 +181,14 @@ NC_s3sdkcreateclient(NCS3INFO* info)
}
if((s3client->rooturl = makes3rooturl(info))==NULL) {stat = NC_ENOMEM; goto done;}
s3client->h5s3client = NCH5_s3comms_s3r_open(s3client->rooturl,info->region,accessid,accesskey);
fprintf(stderr,">>> (1) NC_s3sdkcreateclient: s3client=%p h5s3client=%p\n",s3client,s3client->h5s3client);
if(s3client->h5s3client == NULL) {stat = NC_ES3; goto done;}
done:
nullfree(urlroot);
if(stat && s3client) {
fprintf(stderr,">>> (2) NC_s3sdkcreateclient: stat=%d s3client=%p\n",stat,s3client);
dumps3client(s3client,"NC_s3sdkcreateclient");
abort()
NC_s3sdkclose(s3client,info,0,NULL);
abort();
s3client = NULL;
}
NCNILTRACE(NC_NOERR);
return (void*)s3client;