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
3d13f162
Commit
3d13f162
authored
Sep 21, 2012
by
Marcin Siodelski
Browse files
[2272] Added changes based on the code review.
parent
3148cf2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
3d13f162
...
...
@@ -1085,7 +1085,7 @@ fi
AC_MSG_CHECKING([whether optreset variable is defined in unistd.h])
AC_TRY_LINK(
[#include <unistd.h>],
[extern int optreset; optreset=1],
[extern int optreset; optreset=1
;
],
[ AC_MSG_RESULT(yes)
var_optreset_exists=yes],
[ AC_MSG_RESULT(no)
...
...
tests/tools/perfdhcp/tests/command_options_helper.h
View file @
3d13f162
...
...
@@ -115,7 +115,7 @@ private:
if
(
tokens
.
size
()
>
0
)
{
// Allocate array of C-strings where we will store tokens
results
=
new
(
std
::
nothrow
)
char
*
[
tokens
.
size
()
*
sizeof
(
char
*
)
];
results
=
new
(
std
::
nothrow
)
char
*
[
tokens
.
size
()];
assert
(
results
!=
NULL
);
// Store tokens in C-strings array
for
(
int
i
=
0
;
i
<
tokens
.
size
();
++
i
)
{
...
...
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