This commit is contained in:
Dennis Heimbigner 2023-04-27 19:25:36 -06:00
parent d0ef22360d
commit 7121588ac0

View File

@ -511,13 +511,15 @@ makes3fullpath(const char* rooturl, const char* bucket, const char* prefix, cons
{
int stat = NC_NOERR;
fprintf(stderr,"@@@ makes3fullpath: rooturl=%p\n",rooturl);
fprintf(stderr,"@@@ makes3fullpath: rooturl=|%s|\n",rooturl);
assert(url != NULL);
assert(rooturl != NULL);
ncbytescat(url,rooturl);
fprintf(stderr,"@@@ makes3fullpath: url=|%s|\n",ncbytescontents(url));
if(bucket) {
if(ncbyteslength(url) > 0 && ncbytesget(url,ncbyteslength(url)-1) != '/') ncbytescat(url,"/");
if(*bucket == '/') bucket++;