tree-wide: do not work in assert()

Follow-up for 85e55d14de.
This commit is contained in:
Yu Watanabe
2017-11-09 18:38:02 +09:00
parent 02ec6e04fd
commit 1950011227
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ int icmp6_bind_router_advertisement(int index) {
int icmp6_receive(int fd, void *iov_base, size_t iov_len,
struct in6_addr *dst, triple_timestamp *timestamp) {
assert (read (fd, iov_base, iov_len) == (ssize_t)iov_len);
assert_se(read (fd, iov_base, iov_len) == (ssize_t)iov_len);
if (timestamp)
triple_timestamp_get(timestamp);