Permalink
Browse files

return server

  • Loading branch information...
1 parent 175f8d8 commit eea34a0451184c5a5c238e81da4834ecbf8ae23d @Raynos committed Aug 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -22,7 +22,7 @@ function MuxDemuxServer(handler, port) {
}
var server = net.createServer(openMuxDemux)
- server.listen(port)
+ return server.listen(port)
function bubbleError(error) {
connection.emit("error", error)

0 comments on commit eea34a0

Please sign in to comment.