Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
- fixed wrong var name
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisoelkers committed Dec 8, 2011
1 parent 2968f0b commit 726145d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gelf.js
Expand Up @@ -4,7 +4,7 @@ var zlib = require('zlib');
var Binary = require('binary'); var Binary = require('binary');


function decode(buf) { 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; var json;
switch(gelf_header['chunk_magic']) { switch(gelf_header['chunk_magic']) {
case '40056': case '40056':
Expand Down

0 comments on commit 726145d

Please sign in to comment.