legacy c-ares binding should use legacy timer
authorRyan Dahl <ry@tinyclouds.org>
Mon, 4 Jul 2011 22:56:56 +0000 (15:56 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 4 Jul 2011 22:56:56 +0000 (15:56 -0700)
lib/dns_legacy.js

index 268230e..441b488 100644 (file)
@@ -26,7 +26,7 @@ var IOWatcher = process.binding('io_watcher').IOWatcher;
 
 var watchers = {};
 var activeWatchers = {};
-var Timer = process.binding('timer_wrap').Timer;
+var Timer = process.binding('timer').Timer;
 
 var timer = new Timer();