Permalink
Browse files

- fixed wrong var name

  • Loading branch information...
1 parent 2968f0b commit 726145d32b96ecfeae1fecafa06a288592735129 @dennisoelkers committed Dec 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/gelf.js
View
@@ -4,7 +4,7 @@ var zlib = require('zlib');
var Binary = require('binary');
function decode(buf) {
- var gelf_header = Binary.parse(msg).word16lu('chunk_magic').vars;
+ var gelf_header = Binary.parse(buf).word16lu('chunk_magic').vars;
var json;
switch(gelf_header['chunk_magic']) {
case '40056':

0 comments on commit 726145d

Please sign in to comment.