Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
msantos committed Feb 18, 2012
1 parent a36a40a commit 0d693d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/wierl_prism.erl
@@ -1,4 +1,4 @@
%% Copyright (c) 2011, Michael Santos <michael.santos@gmail.com>
%% Copyright (c) 2011-2012, Michael Santos <michael.santos@gmail.com>
%% All rights reserved.
%%
%% Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -51,7 +51,7 @@

header(<<
Msgcode:?UINT32,
Msglen:?UINT32,
Msglen:?UINT32,
Devname:16/bytes,

Hosttime:?PRISM_VALUE,
Expand Down Expand Up @@ -101,7 +101,7 @@ header(#ieee802_11_prism{

list_to_binary([
<<Msgcode:?UINT32,
Msglen:?UINT32,
Msglen:?UINT32,
(devname(Devname))/bytes>>,

rec_to_bin(Hosttime),
Expand Down Expand Up @@ -133,13 +133,13 @@ prism_value(<<
did = Did,
status = Status,
len = Len,
data = Data
data = Data
};
prism_value(#prism_value{
did = Did,
status = Status,
len = Len,
data = Data
data = Data
}) ->
<<
Did:?UINT32,
Expand Down
4 changes: 2 additions & 2 deletions src/wierl_scan.erl
@@ -1,4 +1,4 @@
%% Copyright (c) 2011, Michael Santos <michael.santos@gmail.com>
%% Copyright (c) 2011-2012, Michael Santos <michael.santos@gmail.com>
%% All rights reserved.
%%
%% Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -159,7 +159,7 @@ essid(Dev, ESSID) when is_binary(ESSID), byte_size(ESSID) < ?IW_ESSID_MAX_SIZE -

% The events are returned in the form: length, command, data
% (length bytes)
%
%
% We believe the length returned in the packet and print out
% the binary data. If the length is wrong, we'll just crash.
event(Buf) ->
Expand Down

0 comments on commit 0d693d5

Please sign in to comment.