aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/ftp
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-05-13 08:26:58 +0200
committerLars Thorsen <[email protected]>2016-05-18 15:23:08 +0200
commit07906b7d9f1c2f72810d9ae12b38415cc3c1e86d (patch)
tree0b3e134337ed66530c66e0211a647a439507f1ce /lib/inets/src/ftp
parenta1086ac00ece8044b4055047aaac2f912a5ca18e (diff)
downloadotp-07906b7d9f1c2f72810d9ae12b38415cc3c1e86d.tar.gz
otp-07906b7d9f1c2f72810d9ae12b38415cc3c1e86d.tar.bz2
otp-07906b7d9f1c2f72810d9ae12b38415cc3c1e86d.zip
[inets] Remove usage of erlang:now()
Diffstat (limited to 'lib/inets/src/ftp')
-rw-r--r--lib/inets/src/ftp/ftp.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl
index db6260c7af..c2ca511795 100644
--- a/lib/inets/src/ftp/ftp.erl
+++ b/lib/inets/src/ftp/ftp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2015. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2016. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -2177,7 +2177,7 @@ handle_caller(#state{caller = {transfer_data, {Cmd, Bin, RemoteFile}}} =
%% Connect to FTP server at Host (default is TCP port 21)
%% in order to establish a control connection.
setup_ctrl_connection(Host, Port, Timeout, State) ->
- MsTime = inets_time_compat:monotonic_time(),
+ MsTime = erlang:monotonic_time(),
case connect(Host, Port, Timeout, State) of
{ok, IpFam, CSock} ->
NewState = State#state{csock = {tcp, CSock}, ipfamily = IpFam},