From 88ae8f208dd313f69e268234f7db55956aef1cb9 Mon Sep 17 00:00:00 2001 From: Chen Minqiang Date: Tue, 22 Oct 2024 07:08:34 +0800 Subject: [PATCH] uclient-http: fix a typo Fixes: 704c781 ("uclient-http: use ustream_ssl without ustream_fd") Signed-off-by: Chen Minqiang --- uclient-http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2