Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- fixed wrong var name

  • Loading branch information...
commit 726145d32b96ecfeae1fecafa06a288592735129 1 parent 2968f0b
@dennisoelkers authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/gelf.js
View
2  lib/gelf.js
@@ -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':
Please sign in to comment.
Something went wrong with that request. Please try again.