Skip to content

Commit

Permalink
test5
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Dec 1, 2023
1 parent 40269f8 commit 93bbda6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libdispatch/dhttp.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ nc_http_open_verbose(const char* path, int verbose, NC_HTTP_STATE** statep)
{stat = NCTHROW(NC_ENOMEM); goto done;}
state->path = strdup(path);
state->url = uri; uri = NULL;
#ifdef ENABLE_S3
state->format = (NC_iss3(state->url)?HTTPS3:HTTPCURL);
#else
state->format = HTTPCURL;
#endif

switch (state->format) {
case HTTPCURL: {
Expand Down

0 comments on commit 93bbda6

Please sign in to comment.