Skip to content
Snippets Groups Projects
Unverified Commit f2783bdf authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

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

gluon-respondd: fix crash on 64bit archs (+ one unrelated issue)
parents fd3ecea9 17123aa4
No related branches found
No related tags found
No related merge requests found
...@@ -239,7 +239,7 @@ static void count_iface_stations(size_t *wifi24, size_t *wifi5, const char *ifna ...@@ -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); ...@@ -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_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment