summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-09-11 23:35:00 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-09-11 23:35:00 +0200
commite8715b30411062d09832e912d87d526dc203e4f0 (patch)
treef8ccbaac2bf1a73071daec2a948d24bdb1adbe30 /src/or/config.c
parentde7565f87fba14973038fbcd740ff9fecaa28b4e (diff)
downloadtor-e8715b30411062d09832e912d87d526dc203e4f0.tar.gz
tor-e8715b30411062d09832e912d87d526dc203e4f0.zip
Constification.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index df06739bc7..f2cb6cde5c 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -5474,7 +5474,7 @@ options_get_datadir_fname2_suffix(or_options_t *options,
/** Return true if <b>line</b> is a valid state TransportProxy line.
* Return false otherwise. */
static int
-state_transport_line_is_valid(char *line)
+state_transport_line_is_valid(const char *line)
{
smartlist_t *items = NULL;
char *addrport=NULL;