diff options
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h index 4a627e5495..e2a7546de1 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -24,7 +24,7 @@ * calling assert() normally. */ #ifdef NDEBUG -#define tor_assert(expr) do {} while(0) +#define tor_assert(expr) do {} while (0) #else #define tor_assert(expr) do { \ if (!(expr)) { \ @@ -41,7 +41,7 @@ void *tor_malloc_zero(size_t size); void *tor_realloc(void *ptr, size_t size); char *tor_strdup(const char *s); char *tor_strndup(const char *s, size_t n); -#define tor_free(p) do {if(p) {free(p); (p)=NULL;}} while(0) +#define tor_free(p) do { if (p) {free(p); (p)=NULL;} } while (0) /* String manipulation */ #define HEX_CHARACTERS "0123456789ABCDEFabcdef" |