diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-08-15 17:26:03 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-08-15 17:26:03 +0200 |
commit | db4cde38109c677db14316ac77c240d7d61db386 (patch) | |
tree | 9ec5a30c649cdd5962eaadabc0fed1be5b6fdbbf /src/or/config.h | |
parent | ea3e9416c6c579735ff2b844a88605ae5e1cbbd2 (diff) | |
download | tor-db4cde38109c677db14316ac77c240d7d61db386.tar.gz tor-db4cde38109c677db14316ac77c240d7d61db386.zip |
Improve the code a tad.
* Use strcmpstart() instead of strcmp(x,y,strlen(y)).
* Warn the user if the managed proxy failed to launch.
* Improve function documentation.
* Use smartlist_len() instead of n_unconfigured_proxies.
* Split managed_proxy_destroy() to managed_proxy_destroy()
and managed_proxy_destroy_with_transports().
* Constification.
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.h b/src/or/config.h index d09d90421d..45baf451f6 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -64,7 +64,7 @@ int did_last_state_file_write_fail(void); int or_state_save(time_t now); void save_transport_to_state(const char *transport_name, - tor_addr_t *addr, uint16_t port); + const tor_addr_t *addr, uint16_t port); const char *get_bindaddr_for_transport(const char *transport); int options_need_geoip_info(or_options_t *options, const char **reason_out); |