Loading src/or/geoip.c +4 −2 Original line number Diff line number Diff line Loading @@ -511,6 +511,8 @@ geoip_get_request_history(time_t now, geoip_client_action_t action) char buf[32]; for (i=0; i < REQUEST_HIST_LEN; ++i) tot += n[i]; if (!tot) continue; tor_snprintf(buf, sizeof(buf), "%s=%ld", c->countrycode, (long)tot); smartlist_add(entries, tor_strdup(buf)); }); Loading Loading
src/or/geoip.c +4 −2 Original line number Diff line number Diff line Loading @@ -511,6 +511,8 @@ geoip_get_request_history(time_t now, geoip_client_action_t action) char buf[32]; for (i=0; i < REQUEST_HIST_LEN; ++i) tot += n[i]; if (!tot) continue; tor_snprintf(buf, sizeof(buf), "%s=%ld", c->countrycode, (long)tot); smartlist_add(entries, tor_strdup(buf)); }); Loading