Skip to content

Commit

Permalink
Using the macro instead of event name
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikram Kadi committed Mar 11, 2014
1 parent 2d5bebf commit 1a8c1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mondemand.erl
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ handle_cast ({send,
State = #state { channel = Channel,
http_config = HttpConfig}) ->
case EventName of
"MonDemand::TraceMsg"
?TRACE_EVENT
-> Bin = lwes_event:to_binary(Event),
case size(Bin) of
X when X > 65535 -> post_via_http (Bin, HttpConfig);
Expand Down

0 comments on commit 1a8c1ff

Please sign in to comment.