diff options
author | Hans Nilsson <[email protected]> | 2016-10-14 13:22:48 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2016-10-14 15:45:19 +0200 |
commit | 2fa04b1a2b209c7e952eb931d6f5214dc2788390 (patch) | |
tree | 06a03a0aa311451e2cb18dddd8e0b948170e7b9f /lib/inets/src/ftp/ftp.erl | |
parent | 6394c0df8b1b593ca3c3799ef3a022517d9a730f (diff) | |
download | otp-2fa04b1a2b209c7e952eb931d6f5214dc2788390.tar.gz otp-2fa04b1a2b209c7e952eb931d6f5214dc2788390.tar.bz2 otp-2fa04b1a2b209c7e952eb931d6f5214dc2788390.zip |
ftp: New DBG alternative: ct:pal
Diffstat (limited to 'lib/inets/src/ftp/ftp.erl')
-rw-r--r-- | lib/inets/src/ftp/ftp.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl index 39b3bada83..6868b75eff 100644 --- a/lib/inets/src/ftp/ftp.erl +++ b/lib/inets/src/ftp/ftp.erl @@ -108,6 +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). %%%========================================================================= %%% API - CLIENT FUNCTIONS |