Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sslh-main: fix config_lookup_int call
This func takes an int, not a long. The current code triggers a warning: sslh-main.c: In function 'config_parse': sslh-main.c:275:5: warning: passing argument 3 of 'config_lookup_int' from incompatible pointer type [enabled by default] if (config_lookup_int(&config, "timeout", &timeout) == CONFIG_TRUE) { ^ In file included from sslh-main.c:26:0: /usr/include/libconfig.h:266:12: note: expected 'int *' but argument is of type 'long int *' extern LIBCONFIG_API int config_lookup_int(const config_t *config, Signed-off-by: Mike Frysinger <[email protected]>
- Loading branch information