From: Chen Minqiang Date: Mon, 21 Oct 2024 23:08:34 +0000 (+0800) Subject: uclient-http: fix a typo X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=88ae8f208dd313f69e268234f7db55956aef1cb9;p=project%2Fuclient.git uclient-http: fix a typo Fixes: 704c781 ("uclient-http: use ustream_ssl without ustream_fd") Signed-off-by: Chen Minqiang --- diff --git a/uclient-http.c b/uclient-http.c index deeb456..f00cbe5 100644 --- a/uclient-http.c +++ b/uclient-http.c @@ -154,7 +154,7 @@ static void uclient_http_disconnect(struct uclient_http *uh) else ustream_free(&uh->ufd.stream); if(uh->fd >= 0) - close(uh->fd >= 0); + close(uh->fd); uh->us = NULL; }