Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
6d197660
Commit
6d197660
authored
Oct 20, 2011
by
Tomek Mrugalski
🛰
Browse files
[1313] 2 extra spaces added.
parent
d8ac1685
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/util/tests/io_utilities_unittest.cc
View file @
6d197660
...
...
@@ -89,7 +89,7 @@ TEST(asioutil, readUint32) {
// the memory alignment. That' why we need to repeat
// it 4 times.
for
(
int
offset
=
0
;
offset
<
4
;
offset
++
)
{
for
(
int
i
=
0
;
i
<
sizeof
(
test32
)
/
sizeof
(
uint32_t
);
i
++
)
{
for
(
int
i
=
0
;
i
<
sizeof
(
test32
)
/
sizeof
(
uint32_t
);
i
++
)
{
uint32_t
tmp
=
htonl
(
test32
[
i
]);
memcpy
(
&
data
[
offset
],
&
tmp
,
sizeof
(
uint32_t
));
...
...
@@ -106,7 +106,7 @@ TEST(asioutil, writeUint32) {
// the memory alignment. That's why we need to repeat
// it 4 times.
for
(
int
offset
=
0
;
offset
<
4
;
offset
++
)
{
for
(
int
i
=
0
;
i
<
sizeof
(
test32
)
/
sizeof
(
uint32_t
);
i
++
)
{
for
(
int
i
=
0
;
i
<
sizeof
(
test32
)
/
sizeof
(
uint32_t
);
i
++
)
{
uint8_t
*
ptr
=
writeUint32
(
test32
[
i
],
&
data
[
offset
]);
EXPECT_EQ
(
&
data
[
offset
]
+
sizeof
(
uint32_t
),
ptr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment