Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
0ce4fe5b
Commit
0ce4fe5b
authored
Jun 24, 2016
by
Thomas Markwalder
Browse files
[4277] Fixed bug in PsqlBindArray:toText
parent
3c221983
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/pgsql_exchange.cc
View file @
0ce4fe5b
...
...
@@ -88,10 +88,10 @@ std::string PsqlBindArray::toText() const {
stream
<<
"empty"
<<
std
::
endl
;
}
else
{
stream
<<
"0x"
;
for
(
int
i
=
0
;
i
<
lengths_
[
i
];
++
i
)
{
for
(
int
x
=
0
;
x
<
lengths_
[
i
];
++
x
)
{
stream
<<
std
::
setfill
(
'0'
)
<<
std
::
setw
(
2
)
<<
std
::
setbase
(
16
)
<<
static_cast
<
unsigned
int
>
(
data
[
i
]);
<<
static_cast
<
unsigned
int
>
(
data
[
x
]);
}
stream
<<
std
::
endl
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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