summaryrefslogtreecommitdiffstats
path: root/src/lib/asiodns/tests
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@isc.org>2014-01-27 04:44:00 +0100
committerMukund Sivaraman <muks@isc.org>2014-01-27 04:44:00 +0100
commita071815cc23931803825f6323d88ed1253ddfca7 (patch)
tree1e9f0c6da9021268db28c7b15e13667ee00f0822 /src/lib/asiodns/tests
parent[2749] Replace size() calls with literal values (diff)
downloadkea-a071815cc23931803825f6323d88ed1253ddfca7.tar.xz
kea-a071815cc23931803825f6323d88ed1253ddfca7.zip
[2749] Remove space between sizeof and (
Diffstat (limited to 'src/lib/asiodns/tests')
-rw-r--r--src/lib/asiodns/tests/io_fetch_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/asiodns/tests/io_fetch_unittest.cc b/src/lib/asiodns/tests/io_fetch_unittest.cc
index 1357a7b5b9..7f79a528f8 100644
--- a/src/lib/asiodns/tests/io_fetch_unittest.cc
+++ b/src/lib/asiodns/tests/io_fetch_unittest.cc
@@ -280,7 +280,8 @@ public:
cumulative_ += length;
bool complete = false;
if (cumulative_ > 2) {
- uint16_t dns_length = readUint16(receive_buffer_, sizeof (receive_buffer_));
+ uint16_t dns_length = readUint16(receive_buffer_,
+ sizeof(receive_buffer_));
complete = ((dns_length + 2) == cumulative_);
}