projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git]
/
src
/
common
/
sessiond-comm
/
inet.c
diff --git
a/src/common/sessiond-comm/inet.c
b/src/common/sessiond-comm/inet.c
index 827b97598f0810a0a8ce229318be60be67c3e1e3..15608fd94c194157b72f6076c10e54bb9fbb65ed 100644
(file)
--- a/
src/common/sessiond-comm/inet.c
+++ b/
src/common/sessiond-comm/inet.c
@@
-6,7
+6,6
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
-#include <assert.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
@@
-371,7
+370,7
@@
ssize_t lttcomm_recvmsg_inet_sock(struct lttcomm_sock *sock, void *buf,
}
iov[0].iov_base += ret;
iov[0].iov_len -= ret;
}
iov[0].iov_base += ret;
iov[0].iov_len -= ret;
-
assert
(ret <= len_last);
+
LTTNG_ASSERT
(ret <= len_last);
}
} while ((ret > 0 && ret < len_last) || (ret < 0 && errno == EINTR));
}
} while ((ret > 0 && ret < len_last) || (ret < 0 && errno == EINTR));
This page took
0.023536 seconds
and
4
git commands to generate.