projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: user space context: remove unneeded test import
[lttng-tools.git]
/
src
/
common
/
sessiond-comm
/
inet.cpp
diff --git
a/src/common/sessiond-comm/inet.cpp
b/src/common/sessiond-comm/inet.cpp
index 15e6ba7c8b8276a2ab9fcb29b2a7d3f9e5e21948..633685799aad448f352adfac358c5214269dfa05 100644
(file)
--- a/
src/common/sessiond-comm/inet.cpp
+++ b/
src/common/sessiond-comm/inet.cpp
@@
-256,7
+256,7
@@
struct lttcomm_sock *lttcomm_accept_inet_sock(struct lttcomm_sock *sock)
}
new_sock = lttcomm_alloc_sock(sock->proto);
}
new_sock = lttcomm_alloc_sock(sock->proto);
- if (new_sock ==
NULL
) {
+ if (new_sock ==
nullptr
) {
goto error;
}
goto error;
}
@@
-296,7
+296,7
@@
error_close:
error:
free(new_sock);
error:
free(new_sock);
- return
NULL
;
+ return
nullptr
;
}
/*
}
/*
@@
-480,7
+480,7
@@
static unsigned long read_proc_value(const char *path)
buf[size_ret] = '\0';
errno = 0;
buf[size_ret] = '\0';
errno = 0;
- r_val = strtol(buf,
NULL
, 10);
+ r_val = strtol(buf,
nullptr
, 10);
if (errno != 0 || r_val < -1L) {
val = 0;
goto error_close;
if (errno != 0 || r_val < -1L) {
val = 0;
goto error_close;
@@
-499,7
+499,7
@@
error:
return val;
}
return val;
}
-void lttcomm_inet_init(
void
)
+void lttcomm_inet_init()
{
unsigned long syn_retries, fin_timeout, syn_timeout, env;
{
unsigned long syn_retries, fin_timeout, syn_timeout, env;
This page took
0.023016 seconds
and
4
git commands to generate.