~ruther/dwl

986beef5be32a2bead22ca85d19f4d6d7e5c0ce1 — Leonardo Hernández Hernández 1 year, 2 months ago 487abc2
replace spaces with tabs

Fixes: 71f11e6cf63289d51f152469a0da81a85fe2608c
1 files changed, 5 insertions(+), 5 deletions(-)

M util.c
M util.c => util.c +5 -5
@@ 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;
}