Introduction
Introduction Statistics Contact Development Disclaimer Help
remove unused variables - hurl - Gopher/HTTP/HTTPS file grabber
git clone git://git.codemadness.org/hurl
Log
Files
Refs
README
LICENSE
---
commit e3912666fc4f1516b588d03f6ae389dbc84339b4
parent 7b754ee4801e3fada177b6ade9d3144a126da8a5
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 12 Mar 2021 22:33:21 +0100
remove unused variables
Diffstat:
M hurl.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/hurl.c b/hurl.c
@@ -182,7 +182,6 @@ edial(const char *host, const char *port)
struct addrinfo hints, *res, *res0;
int error, save_errno, s;
const char *cause = NULL;
- struct timeval timeout;
memset(&hints, 0, sizeof(hints));
hints.ai_family = AF_UNSPEC;
@@ -480,8 +479,8 @@ err:
int
gopher_request(void)
{
- char buf[READ_BUF_SIZ], *p;
- const char *errstr, *path;
+ char buf[READ_BUF_SIZ];
+ const char *path;
size_t len = 0;
ssize_t r;
int fd = -1, ret = 1;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.