Merge pull request #2174 from freifunk-gluon/respondd-fixes
gluon-respondd: fix crash on 64bit archs (+ one unrelated issue)
This commit is contained in:
commit
f2783bdf2d
@ -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();
|
struct uci_context *ctx = uci_alloc_context();
|
||||||
if (!ctx)
|
if (!ctx)
|
||||||
return;
|
return;
|
||||||
|
@ -54,6 +54,7 @@ struct json_object * gluonutil_wrap_and_free_string(char *str);
|
|||||||
|
|
||||||
bool gluonutil_has_domains(void);
|
bool gluonutil_has_domains(void);
|
||||||
char * gluonutil_get_domain(void);
|
char * gluonutil_get_domain(void);
|
||||||
|
char * gluonutil_get_primary_domain(void);
|
||||||
struct json_object * gluonutil_load_site_config(void);
|
struct json_object * gluonutil_load_site_config(void);
|
||||||
|
|
||||||
#endif /* _LIBGLUON_LIBGLUON_H_ */
|
#endif /* _LIBGLUON_LIBGLUON_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user