[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11233: We do not mix variable declarations and code (tor/trunk/src/or)
Author: weasel
Date: 2007-08-20 18:13:14 -0400 (Mon, 20 Aug 2007)
New Revision: 11233
Modified:
tor/trunk/src/or/directory.c
Log:
We do not mix variable declarations and code
Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c 2007-08-20 22:11:56 UTC (rev 11232)
+++ tor/trunk/src/or/directory.c 2007-08-20 22:13:14 UTC (rev 11233)
@@ -2207,12 +2207,12 @@
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)