Skip to content

Commit

Permalink
qf
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZ99 committed Dec 9, 2011
1 parent 428fd05 commit c4a8cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions limestone.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ exports.SphinxClient = function() {
var port = args.length ? args.shift(): Sphinx.port;
var persistent = _persistent = args.length ? args.shift() : false;
server_conn = tcp.createConnection(port);
server_conn.once('error', function(x){
console.log('Error: '+x);
server_conn.on('error', function(x){
console.log('Error: '+x);
server_conn.end();
callback(x);
});
Expand Down

0 comments on commit c4a8cdc

Please sign in to comment.