From 1a7830a92a251ae7e895945deea94cba60c54f12 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 4 Feb 2011 09:00:21 -0800 Subject: [PATCH] Fix debug flag in timers.js --- lib/timers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timers.js b/lib/timers.js index d79f64a8be..06229ed97f 100644 --- a/lib/timers.js +++ b/lib/timers.js @@ -3,7 +3,7 @@ var L = require('_linklist'); var assert = require('assert').ok; var debug; -if (process.env.NODE_debug && /timer/.test(process.env.NODE_debug)) { +if (process.env.NODE_DEBUG && /timer/.test(process.env.NODE_DEBUG)) { debug = function() { require('util').error.apply(this, arguments); }; } else { debug = function() { };