projects
/
project
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a220818
)
uclient-http: fix a typo
master
author
Chen Minqiang
<ptpt52@gmail.com>
Mon, 21 Oct 2024 23:08:34 +0000
(07:08 +0800)
committer
Chen Minqiang
<ptpt52@gmail.com>
Mon, 21 Oct 2024 23:10:13 +0000
(07:10 +0800)
Fixes: 704c781 ("uclient-http: use ustream_ssl without ustream_fd")
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
uclient-http.c
patch
|
blob
|
history
diff --git
a/uclient-http.c
b/uclient-http.c
index deeb456cdfcb9bb96bcdbf1dc54487f0c82e1ef4..f00cbe554342472c5bba3c5e917d43bbc61d4919 100644
(file)
--- 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;
}