This is an automated email from the ASF dual-hosted git repository. jiahuili430 pushed a commit to branch fix-compilation-warnings in repository https://gitbox.apache.org/repos/asf/couchdb-ibrowse.git
commit dfe8242718cfbef03d4379dd431f3d9a62fd384c Author: Jiahui Li <[email protected]> AuthorDate: Wed Sep 17 11:13:26 2025 -0500 Replace `gen_server:format_status/2` to `format_status/1` Fix the following warnings: ```log [2025-09-17T13:01:35.309Z] /home/jenkins/workspace/next-multibranch-pipeline_otp-27/src/ibrowse/src/ibrowse_http_client.erl:9:2: Warning: the callback gen_server:format_status(_,_) is deprecated; use format_status/1 instead ``` --- src/ibrowse_http_client.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ibrowse_http_client.erl b/src/ibrowse_http_client.erl index bee6a70..a0e298e 100644 --- a/src/ibrowse_http_client.erl +++ b/src/ibrowse_http_client.erl @@ -34,7 +34,7 @@ handle_info/2, terminate/2, code_change/3, - format_status/2 + format_status/1 ]). -include("ibrowse.hrl"). @@ -328,7 +328,7 @@ code_change(_OldVsn, State, _Extra) -> %% Purpose: Clean process state before logging %% Returns: key value list %%-------------------------------------------------------------------- -format_status(_Opt, [_PDict, State]) -> +format_status([_PDict, State]) -> #state{ reqs=Reqs, reply_buffer=ReplyBuf,
