diff options
author | rofl0r <retnyg@gmx.net> | 2019-02-28 16:32:57 +0300 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2019-02-28 16:32:57 +0300 |
commit | 9f17774b9917018ae70057137ff1fd37222278b8 (patch) | |
tree | c4d218ba39d5c6bab6487b07f6c5500a281a9f8d | |
parent | dbec605e2c0957f7c5ea35173e2d0f171d6be4a4 (diff) |
allocator_thread.c: whitespace cleanup
-rw-r--r-- | src/allocator_thread.c | 8 |
1 files 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; |