aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 58a500eb..80eb8b40 100644
--- a/client.c
+++ b/client.c
@@ -4,7 +4,6 @@
#include <stdint.h>
#include <stdbool.h>
#include <unistd.h>
-#include <assert.h>
#include <getopt.h>
#include <signal.h>
#include <errno.h>
@@ -16,6 +15,7 @@
#define LOG_ENABLE_DBG 0
#include "log.h"
#include "client-protocol.h"
+#include "debug.h"
#include "foot-features.h"
#include "version.h"
#include "xmalloc.h"
@@ -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