We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053ecd2 commit 56c7d73Copy full SHA for 56c7d73
src/main.c
@@ -45,7 +45,7 @@ write_all(int fd, const char *buf, int n)
45
int
46
make_conn(const char *hostname)
47
{
48
- struct addrinfo *getaddrinfo_output;
+ struct addrinfo *getaddrinfo_output = NULL;
49
int getaddrinfo_result =
50
getaddrinfo(hostname, "443", NULL, &getaddrinfo_output);
51
if(getaddrinfo_result != 0) {
0 commit comments