Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1114-ftp-replace-deprecated-call-to-ftp-start_s...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1114-ftp-replace-deprecated-call-to-ftp-start_service.patch of Package erlang
From 126de938aac19554c0cae35a1d2573cc575ee7f4 Mon Sep 17 00:00:00 2001 From: Kiko Fernandez-Reyes <kiko@erlang.org> Date: Tue, 25 Oct 2022 09:49:48 +0200 Subject: [PATCH 2/3] ftp: replace deprecated call to ftp:start_service --- lib/ftp/test/ftp_SUITE.erl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ftp/test/ftp_SUITE.erl b/lib/ftp/test/ftp_SUITE.erl index 3c9442a99f..595a8778de 100644 --- a/lib/ftp/test/ftp_SUITE.erl +++ b/lib/ftp/test/ftp_SUITE.erl @@ -32,7 +32,6 @@ end)(inet:gethostname()) ). --define(BAD_HOST, "badhostname"). -define(BAD_USER, "baduser"). -define(BAD_DIR, "baddirectory"). @@ -1247,11 +1246,11 @@ ftp_start_service(Config, Options) -> Host = proplists:get_value(ftpd_host,Config), Port = proplists:get_value(ftpd_port,Config), ct:log("Host=~p, Port=~p",[Host,Port]), - {ok,Pid} = ftp:start_service([{host, Host},{port,Port} | Options]), + {ok,Pid} = ftp:open([{host, Host},{port,Port} | Options]), [{ftp,Pid}|Config]. ftp_stop_service(Config) -> - ok = ftp:stop_service(proplists:get_value(ftp,Config)), + ok = ftp:close(proplists:get_value(ftp,Config)), Config. split(Cs) -> string:tokens(Cs, "\r\n"). -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor