Fix debug flag in timers.js

This commit is contained in:
Ryan Dahl 2011-02-04 09:00:21 -08:00
parent c10caca34c
commit 1a7830a92a

View File

@ -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() { };