aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-10-14 13:22:48 +0200
committerHans Nilsson <[email protected]>2016-10-14 15:45:19 +0200
commit2fa04b1a2b209c7e952eb931d6f5214dc2788390 (patch)
tree06a03a0aa311451e2cb18dddd8e0b948170e7b9f /lib
parent6394c0df8b1b593ca3c3799ef3a022517d9a730f (diff)
downloadotp-2fa04b1a2b209c7e952eb931d6f5214dc2788390.tar.gz
otp-2fa04b1a2b209c7e952eb931d6f5214dc2788390.tar.bz2
otp-2fa04b1a2b209c7e952eb931d6f5214dc2788390.zip
ftp: New DBG alternative: ct:pal
Diffstat (limited to 'lib')
-rw-r--r--lib/inets/src/ftp/ftp.erl1
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