replace spaces with tabs

Fixes: 71f11e6cf6
This commit is contained in:
Leonardo Hernández Hernández 2024-07-27 00:40:24 -06:00
parent 487abc28ba
commit 986beef5be
No known key found for this signature in database
GPG key ID: E538897EE11B9624

10
util.c
View file

@ -38,14 +38,14 @@ ecalloc(size_t nmemb, size_t size)
int
fd_set_nonblock(int fd) {
int flags = fcntl(fd, F_GETFL);
if (flags < 0) {
if (flags < 0) {
perror("fcntl(F_GETFL):");
return -1;
}
if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
return -1;
}
if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
perror("fcntl(F_SETFL):");
return -1;
}
}
return 0;
}