summaryrefslogtreecommitdiff
path: root/comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'comm.c')
-rw-r--r--comm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/comm.c b/comm.c
index 16a4da9..4955b1d 100644
--- a/comm.c
+++ b/comm.c
@@ -59,6 +59,7 @@ ssize_t read_comm_request(char **buf_ptr) {
if (n <= 0) {
return n;
}
+ assert(size > 0);
swaylock_log(LOG_DEBUG, "received pw check request");