X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fcoloredstderr.c;h=ccefdf34a31c9da821a58e868008a303e5310c14;hb=51377106d1bd632546fa66bc27ac1a02a647f026;hp=7ffa1581dcdf9c2791f4b42046284daf6253646c;hpb=7f9856c5dace35f8efe5a20ee1013815e67b9550;p=coloredstderr%2Fcoloredstderr.git diff --git a/src/coloredstderr.c b/src/coloredstderr.c index 7ffa158..ccefdf3 100644 --- a/src/coloredstderr.c +++ b/src/coloredstderr.c @@ -66,7 +66,7 @@ static int check_handle_fd(int fd) { if (!initialized) { init_from_environment(); } - if (tracked_fds_count == 0) { + if (tracked_fds_list_count == 0) { return 0; } @@ -87,7 +87,7 @@ static void dup_fd(int oldfd, int newfd) { if (!initialized) { init_from_environment(); } - if (tracked_fds_count == 0) { + if (tracked_fds_list_count == 0) { return; } @@ -112,7 +112,7 @@ static void close_fd(int fd) { if (!initialized) { init_from_environment(); } - if (tracked_fds_count == 0) { + if (tracked_fds_list_count == 0) { return; }