aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-27 21:14:11 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-27 21:14:11 +0000
commit2fbf31533ba595c3c0ba6a0c1349208fbdfb498a (patch)
tree226089a8ad38086deea48477c9484a7b72e574b8 /src/or/connection.c
parentce5709184bef665a545bcbf207598ad0f991a67b (diff)
downloadtor-2fbf31533ba595c3c0ba6a0c1349208fbdfb498a.tar
tor-2fbf31533ba595c3c0ba6a0c1349208fbdfb498a.tar.gz
Tricksy compiler warnings! We hates them, hates them forever, my precious!
svn:r2615
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 0c3908ff0..5a7f2588a 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -16,7 +16,7 @@ extern or_options_t options; /* command-line and config-file options */
extern int shutting_down; /* whether we should refuse new connections */
/** Array of strings to make conn-\>type human-readable. */
-char *conn_type_to_string[] = {
+const char *conn_type_to_string[] = {
"", /* 0 */
"OP listener", /* 1 */
"OP", /* 2 */
@@ -32,7 +32,7 @@ char *conn_type_to_string[] = {
};
/** Array of string arrays to make {conn-\>type,conn-\>state} human-readable. */
-char *conn_state_to_string[][_CONN_TYPE_MAX+1] = {
+const char *conn_state_to_string[][_CONN_TYPE_MAX+1] = {
{ NULL }, /* no type associated with 0 */
{ NULL }, /* op listener, obsolete */
{ NULL }, /* op, obsolete */