style(server.c): minor fix

This commit is contained in:
Tom MTT. 2022-11-28 20:31:09 +01:00
parent 42cdd1e16d
commit 8780761486

View file

@ -221,7 +221,7 @@ char *read_paste(int connection)
if (total_size == 0) {
/* yup, free the buffer and return an error */
if (errno != EAGAIN)
errno = ENOENT;
errno = ENOENT;
free(buffer);
return NULL;