From 9f17774b9917018ae70057137ff1fd37222278b8 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Thu, 28 Feb 2019 13:32:57 +0000 Subject: [PATCH] allocator_thread.c: whitespace cleanup --- src/allocator_thread.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/allocator_thread.c b/src/allocator_thread.c index a16c984..0a329e8 100644 --- a/src/allocator_thread.c +++ b/src/allocator_thread.c @@ -116,9 +116,9 @@ static ip_type4 ip_from_internal_list(char* name, size_t len) { internal_ips->list[internal_ips->counter] = new_mem; internal_ips->list[internal_ips->counter]->hash = hash; - + new_mem = dumpstring((char*) name, len + 1); - + if(!new_mem) { internal_ips->list[internal_ips->counter] = 0; goto oom; @@ -131,7 +131,7 @@ static ip_type4 ip_from_internal_list(char* name, size_t len) { return res; err_plus_unlock: - + PDEBUG("return err\n"); return ip_type_invalid.addr.v4; } @@ -244,7 +244,7 @@ static void* threadfunc(void* x) { (void) x; int ret; struct at_msghdr msg; - union { + union { char host[MSG_LEN_MAX]; ip_type4 ip; } readbuf;