]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - src/coloredstderr.c
Rename tracked_fds_* tracked_fds_list_*.
[coloredstderr/coloredstderr.git] / src / coloredstderr.c
index 7ffa1581dcdf9c2791f4b42046284daf6253646c..ccefdf34a31c9da821a58e868008a303e5310c14 100644 (file)
@@ -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;
     }