diff options
author | Peter Palfrader <peter@palfrader.org> | 2007-08-20 22:13:14 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2007-08-20 22:13:14 +0000 |
commit | 38cbd7263e9d32ede196b7fce0753b330366dfff (patch) | |
tree | 7b79d46676121dccefd10c2d5fde84af6db779eb | |
parent | 8c3d14cda5ef80b703eee8f49599982ba8b8abcf (diff) | |
download | tor-38cbd7263e9d32ede196b7fce0753b330366dfff.tar.gz tor-38cbd7263e9d32ede196b7fce0753b330366dfff.zip |
We do not mix variable declarations and code
svn:r11233
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 7f31726a7d..e949a4f242 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2207,12 +2207,12 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, char *result; size_t len; struct mallinfo mi; - memset(&mi, 0, sizeof(mi)); smartlist_t *lines; + char tmp[256]; + memset(&mi, 0, sizeof(mi)); mi = mallinfo(); lines = smartlist_create(); - char tmp[256]; ADD_MALLINFO_LINE(arena) ADD_MALLINFO_LINE(ordblks) |