aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-07-22 21:12:10 +0000
committerNick Mathewson <nickm@torproject.org>2005-07-22 21:12:10 +0000
commit18c11eb3bcbd042eba410c1f01659ea6ad0aa2df (patch)
tree2a646f404190c10164bc93ff7f90dc823c417264 /src/or/control.c
parentd42aae7cfbe5e896b18e2502034d1bc8ff93dac1 (diff)
downloadtor-18c11eb3bcbd042eba410c1f01659ea6ad0aa2df.tar
tor-18c11eb3bcbd042eba410c1f01659ea6ad0aa2df.tar.gz
Be consistent about preferring foo* to struct foo*
svn:r4637
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/control.c b/src/or/control.c
index dc3633fa9..efbadec57 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -602,7 +602,7 @@ static int
handle_control_setconf(connection_t *conn, uint32_t len, char *body)
{
int r;
- struct config_line_t *lines=NULL;
+ config_line_t *lines=NULL;
char *start = body;
int v0 = STATE_IS_V0(conn->state);
@@ -717,7 +717,7 @@ handle_control_getconf(connection_t *conn, uint32_t body_len, const char *body)
smartlist_add(unrecognized, q);
}
} else {
- struct config_line_t *answer = config_get_assigned_option(options,q);
+ config_line_t *answer = config_get_assigned_option(options,q);
if (!v0 && !answer) {
const char *name = config_option_get_canonical_name(q);
size_t alen = strlen(name)+8;
@@ -727,7 +727,7 @@ handle_control_getconf(connection_t *conn, uint32_t body_len, const char *body)
}
while (answer) {
- struct config_line_t *next;
+ config_line_t *next;
size_t alen = strlen(answer->key)+strlen(answer->value)+8;
char *astr = tor_malloc(alen);
if (v0)