about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-03-27T15·33+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-03-27T15·33+0000
commitf0f7a9f29962c55a6c2082b44c9befbd912c2f53 (patch)
treed768ccbd861af67d1c33d9657777c55139e4ec8a /src/libutil
parent7823db2137d8079bcf512aba4ce46f1373693517 (diff)
* Do not close a nesting level twice after close() has been
  called explicitly on a Nest object.

Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index bf14e8aadfaa..87b2ef236365 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -279,6 +279,7 @@ void Nest::close()
         nestingLevel--;
         if (logType == ltEscapes)
             cerr << "\033[q";
+        nest = false;
     }
 }