coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

Fix compile error with --enable-location #169

Closed gbaligh closed 8 years ago

gbaligh commented 8 years ago

Fix error issue #167 :

chilli.c: In function 'chilli_learn_location':
chilli.c:2964:9: error: 's_state' undeclared (first use in this
      function)
sizeof(s_state.pending_location));

s_state is declared in the appconn.

sizeof(appconn->s_state.pending_location);

Signed-off-by: Baligh GUESMI gasmibal@gmail.com