diff options
author | Roger Dingledine <arma@torproject.org> | 2006-08-11 07:41:21 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-08-11 07:41:21 +0000 |
commit | f2945754692fe13330ec45922101c50bd8324cd9 (patch) | |
tree | 4d09c3880cbb6bf40184aa664102ce3753cbe66e /src | |
parent | 5647e5c7e6d572dccdc7882626c3d9748552ab91 (diff) | |
download | tor-f2945754692fe13330ec45922101c50bd8324cd9.tar.gz tor-f2945754692fe13330ec45922101c50bd8324cd9.zip |
fix funny-looking assignment that crashes unit tests
svn:r7027
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 01623bb469..f7a54f6cfa 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -449,7 +449,7 @@ static or_state_t *global_state = NULL; static void * config_alloc(config_format_t *fmt) { - void *opts = opts = tor_malloc_zero(fmt->size); + void *opts = tor_malloc_zero(fmt->size); *(uint32_t*)STRUCT_VAR_P(opts, fmt->magic_offset) = fmt->magic; CHECK(fmt, opts); return opts; |