diff options
author | Roger Dingledine <arma@torproject.org> | 2008-01-10 17:54:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-01-10 17:54:24 +0000 |
commit | 2ac1e362484f8418ca3a3f0fda419c5205209e75 (patch) | |
tree | 56e0a335d9693ee97c397de3fced0ced113dc305 /src/or/control.c | |
parent | 04263648c422af07489a1c55c1972dc91207de46 (diff) | |
download | tor-2ac1e362484f8418ca3a3f0fda419c5205209e75.tar.gz tor-2ac1e362484f8418ca3a3f0fda419c5205209e75.zip |
minor cleanups
svn:r13095
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c index 985b82c430..9e28e06ffe 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -688,8 +688,8 @@ control_setconf_helper(control_connection_t *conn, uint32_t len, char *body, key = tor_strndup(body, eq-body); body = eq+1; if (*eq == '=') { - char *val; - size_t val_len; + char *val=NULL; + size_t val_len=0; size_t ent_len; if (*body != '\"') { char *val_start = body; |