diff options
author | Hans Nilsson <[email protected]> | 2017-03-15 12:43:15 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-03-15 15:03:25 +0100 |
commit | 1e1af8a35bb3a4c7ee88e615fb45697b1aef9363 (patch) | |
tree | fe908cf45861753034923f662055e3552ca1ae27 | |
parent | 27d732c99fec7c29ecdf2a626adf3016776f5c79 (diff) | |
download | otp-1e1af8a35bb3a4c7ee88e615fb45697b1aef9363.tar.gz otp-1e1af8a35bb3a4c7ee88e615fb45697b1aef9363.tar.bz2 otp-1e1af8a35bb3a4c7ee88e615fb45697b1aef9363.zip |
inets/ftp: DBG macro change
-rw-r--r-- | lib/inets/src/ftp/ftp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl index 42d17bb932..eea4b751d8 100644 --- a/lib/inets/src/ftp/ftp.erl +++ b/lib/inets/src/ftp/ftp.erl @@ -108,7 +108,7 @@ -define(DBG(F,A), 'n/a'). %%-define(DBG(F,A), io:format(F,A)). -%%-define(DBG(F,A), if is_list(F) -> ct:pal(F,A); is_atom(F)->ct:pal(atom_to_list(F),A) end). +%%-define(DBG(F,A), ct:pal("~p:~p " ++ if is_list(F) -> F; is_atom(F) -> atom_to_list(F) end, [?MODULE,?LINE|A])). %%%========================================================================= %%% API - CLIENT FUNCTIONS |