diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-09-11 23:35:00 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-09-11 23:35:00 +0200 |
commit | e8715b30411062d09832e912d87d526dc203e4f0 (patch) | |
tree | f8ccbaac2bf1a73071daec2a948d24bdb1adbe30 /src/or/transports.c | |
parent | de7565f87fba14973038fbcd740ff9fecaa28b4e (diff) | |
download | tor-e8715b30411062d09832e912d87d526dc203e4f0.tar.gz tor-e8715b30411062d09832e912d87d526dc203e4f0.zip |
Constification.
Diffstat (limited to 'src/or/transports.c')
-rw-r--r-- | src/or/transports.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/transports.c b/src/or/transports.c index 01cbfca9df..a3abfed729 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -141,7 +141,7 @@ pt_proxies_configuration_pending(void) /** Return true if <b>mp</b> has the same argv as <b>proxy_argv</b> */ static int -managed_proxy_has_argv(managed_proxy_t *mp, char **proxy_argv) +managed_proxy_has_argv(const managed_proxy_t *mp, char **proxy_argv) { char **tmp1=proxy_argv; char **tmp2=mp->argv; @@ -190,7 +190,7 @@ add_transport_to_proxy(const char *transport, managed_proxy_t *mp) * Returns true if managed proxy <b>mp</b> needs to be restarted * after the SIGHUP based on the new torrc. */ static int -proxy_needs_restart(managed_proxy_t *mp) +proxy_needs_restart(const managed_proxy_t *mp) { /* mp->transport_to_launch is populated with the names of the transports that must be launched *after* the SIGHUP. |