projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: lttngctl.py: allow the creation of per-pid buffers
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
tcp_keep_alive.cpp
diff --git
a/src/bin/lttng-relayd/tcp_keep_alive.cpp
b/src/bin/lttng-relayd/tcp_keep_alive.cpp
index dec536ed1f6385dd8c25a2e8a53a9cb192d193ca..93bc0b396e09a79055cedf5fb829f8e53fccfd16 100644
(file)
--- a/
src/bin/lttng-relayd/tcp_keep_alive.cpp
+++ b/
src/bin/lttng-relayd/tcp_keep_alive.cpp
@@
-129,7
+129,7
@@
static int get_env_int(const char *env_var, const char *value)
{
int ret;
long tmp;
{
int ret;
long tmp;
- char *endptr =
NULL
;
+ char *endptr =
nullptr
;
errno = 0;
tmp = strtol(value, &endptr, 0);
errno = 0;
tmp = strtol(value, &endptr, 0);
@@
-493,7
+493,7
@@
error:
}
/* Initialize the TCP keep-alive configuration. */
}
/* Initialize the TCP keep-alive configuration. */
-__attribute__((constructor)) static void tcp_keep_alive_init(
void
)
+__attribute__((constructor)) static void tcp_keep_alive_init()
{
tcp_keep_alive_init_support(&the_support);
(void) tcp_keep_alive_init_config(&the_support, &the_config);
{
tcp_keep_alive_init_support(&the_support);
(void) tcp_keep_alive_init_config(&the_support, &the_config);
This page took
0.024477 seconds
and
4
git commands to generate.