Skip to content

Commit

Permalink
clang-format; complete ChangeLog
Browse files Browse the repository at this point in the history
document PCRE2_CFLAGS for cache/server object linking

Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed May 31, 2024
1 parent 851aa6a commit f91140a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
05/31/2024
- refactor NGINX port extraction so it works with NGINX >= 1.27.0; closes #49; thanks @anpin
- add PCRE2_CFLAGS to cache/server object linking

03/11/2024
- release 1.6.1
Expand Down
3 changes: 1 addition & 2 deletions src/cfg_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,7 @@ typedef struct oauth2_cfg_openidc_t {
dst = type##_init(log);

#define _OAUTH2_CFG_CTX_CLONE_END \
end: \
return dst; \
end : return dst; \
}

#define _OAUTH2_CFG_CTX_FREE_START(type) \
Expand Down
3 changes: 2 additions & 1 deletion src/server/nginx.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ static void _oauth2_nginx_host_copy(oauth2_nginx_request_context_t *ctx)
static void _oauth2_nginx_port_copy(oauth2_nginx_request_context_t *ctx)
{
in_port_t port = ngx_inet_get_port(ctx->r->connection->sockaddr);
oauth2_http_request_port_set(ctx->log, ctx->request, (unsigned long)port);
oauth2_http_request_port_set(ctx->log, ctx->request,
(unsigned long)port);
}

static void _oauth2_nginx_path_copy(oauth2_nginx_request_context_t *ctx)
Expand Down

0 comments on commit f91140a

Please sign in to comment.