summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 7b5b7fafd7..038e4865bb 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -314,7 +314,7 @@ directory_send_command(connection_t *conn, const char *platform,
char hoststring[128];
char url[128];
int use_newer = 0;
- char *httpcommand = NULL;
+ const char *httpcommand = NULL;
tor_assert(conn);
tor_assert(conn->type == CONN_TYPE_DIR);