mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
debug: rename assert() to xassert(), to avoid clashing with <assert.h>
This commit is contained in:
parent
22f25a9e4f
commit
e56136ce11
31 changed files with 387 additions and 388 deletions
2
client.c
2
client.c
|
|
@ -329,7 +329,7 @@ main(int argc, char *const *argv)
|
|||
ssize_t rcvd = recv(fd, &exit_code, sizeof(exit_code), 0);
|
||||
|
||||
if (rcvd == -1 && errno == EINTR)
|
||||
assert(aborted);
|
||||
xassert(aborted);
|
||||
else if (rcvd != sizeof(exit_code))
|
||||
LOG_ERRNO("failed to read server response");
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue