Skip to content

Commit

Permalink
code: declare memcache members as int
Browse files Browse the repository at this point in the history
so they can be set to OIDC_CONFIG_POS_INT_UNSET without warning

Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Dec 16, 2024
1 parent 6d56bd8 commit 2dbde25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
12/16/2024
- http: report errors when curl_easy_setopt fails and improve macro usage
- code: declare enum members as int so they can be set to OIDC_CONFIG_POS_INT_UNSET without warning
- code: declare memcache members as int so they can be set to OIDC_CONFIG_POS_INT_UNSET without warning

12/15/2024
- add Coverity Github action
Expand Down
8 changes: 4 additions & 4 deletions src/cfg/cfg_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ struct oidc_cfg_cache_t {
/* cache_type= memcache: list of memcache host/port servers to use */
char *memcache_servers;
/* cache_type= memcache: minimum number of connections to each memcache server per process*/
apr_uint32_t memcache_min;
int memcache_min;
/* cache_type= memcache: soft maximum number of connections to each memcache server per process */
apr_uint32_t memcache_smax;
int memcache_smax;
/* cache_type= memcache: hard maximum number of connections to each memcache server per process */
apr_uint32_t memcache_hmax;
int memcache_hmax;
/* cache_type= memcache: maximum time in microseconds a connection to a memcache server can be idle before being
* closed */
apr_uint32_t memcache_ttl;
int memcache_ttl;
#endif

/*
Expand Down

0 comments on commit 2dbde25

Please sign in to comment.