Merge pull request #2174 from freifunk-gluon/respondd-fixes

gluon-respondd: fix crash on 64bit archs (+ one unrelated issue)
This commit is contained in:
David Bauer 2021-01-12 15:21:19 +01:00 committed by GitHub
commit f2783bdf2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -239,7 +239,7 @@ static void count_iface_stations(size_t *wifi24, size_t *wifi5, const char *ifna
}
}
static void count_stations(size_t *wifi24, size_t *wifi5, size_t *owe24, size_t owe5) {
static void count_stations(size_t *wifi24, size_t *wifi5, size_t *owe24, size_t *owe5) {
struct uci_context *ctx = uci_alloc_context();
if (!ctx)
return;

View File

@ -54,6 +54,7 @@ struct json_object * gluonutil_wrap_and_free_string(char *str);
bool gluonutil_has_domains(void);
char * gluonutil_get_domain(void);
char * gluonutil_get_primary_domain(void);
struct json_object * gluonutil_load_site_config(void);
#endif /* _LIBGLUON_LIBGLUON_H_ */