Skip to content

Commit

Permalink
report vnc connection errors #1
Browse files Browse the repository at this point in the history
  • Loading branch information
sidorares committed May 24, 2013
2 parents 40b5b98 + 05d3603 commit e9772ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"readmeFilename": "README.md",
"dependencies": {
"rfb2": "0.0.4",
"rfb2": "0.0.7",
"gif": "2.0.2"
}
}
3 changes: 1 addition & 2 deletions vnc-over-gif.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env node

var GifLib = require('gif');
//var rfb = require('./vnc/rfbclient');
var rfb = require('rfb2');
var url = require('url');

Expand Down Expand Up @@ -30,7 +29,7 @@ http.createServer(function(req, res) {
rgb[offset++] = rect.buffer[i+1];
rgb[offset++] = rect.buffer[i];
}
gif.push(rgb, rect.x, rect.y, rect.width, rect.height, 'rgb');
gif.push(rgb, rect.x, rect.y, rect.width, rect.height);
gif.endPush();

// send on vnc disconnect?
Expand Down

0 comments on commit e9772ab

Please sign in to comment.