Skip to content

Commit

Permalink
WHISTLE-1441: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
James Aimonetti committed Dec 18, 2012
1 parent 1aafed1 commit 6aaeb4e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions whistle_apps/apps/acdc/src/acdc_util.erl
Expand Up @@ -152,9 +152,6 @@ update_agent_status(?NE_BINARY = AcctId, AgentId, Status, Options) ->
-spec proc_id/0 :: () -> ne_binary().
-spec proc_id/1 :: (pid()) -> ne_binary().
-spec proc_id/2 :: (pid(), atom() | ne_binary()) -> ne_binary().
proc_id() ->
proc_id(self()).
proc_id(Pid) ->
proc_id(Pid, node()).
proc_id(Pid, Node) ->
list_to_binary([wh_util:to_binary(Node), "-", pid_to_list(Pid)]).
proc_id() -> proc_id(self()).
proc_id(Pid) -> proc_id(Pid, node()).
proc_id(Pid, Node) -> list_to_binary([wh_util:to_binary(Node), "-", pid_to_list(Pid)]).

0 comments on commit 6aaeb4e

Please sign in to comment.