diff --git a/src/client.c b/src/client.c

index c252c9d9ab1783dd462343ce346cc74611e9ae85..4ec75ba1f132e2b80e0267e0e195bd10a215b918 100644

--- a/src/client.c

+++ b/src/client.c

@@ -23,7 +23,7 @@ port = (int)strtol(uport, NULL, 10);

	free(uport);

}

	*addr = options->addr;

} else {

	struct addrinfo hints = {0};

diff --git a/src/gmnic.c b/src/gmnic.c

index 3fcfa059fe344aa4dc96bd90c4f313a4b6e755cd..fd6add8a61546a662a3fe7bb4f3beb9848a19452 100644

--- a/src/gmnic.c

+++ b/src/gmnic.c

@@ -1,12 +1,15 @@

#include <assert.h>

#include <errno.h>

#include <getopt.h>

+#include <netdb.h>

#include <openssl/bio.h>

#include <openssl/err.h>

#include <stdbool.h>

#include <stdio.h>

#include <stdlib.h>

#include <string.h>

+#include <sys/socket.h>

+#include <sys/types.h>

#include <unistd.h>

#include "client.h"

@@ -35,15 +38,19 @@ };

enum input_mode input_mode = INPUT_READ;

FILE *input_source = stdin;

bool follow_redirects = false, linefeed = true;

int c;

while ((c = getopt(argc, argv, "46C:d:D:hlLiIN")) != -1) {

	switch (c) {

	case '4':

		break;

	case '6':

		break;

	case 'C':

		assert(0); // TODO: Client certificates

@@ -104,7 +111,7 @@

int ret = 0;

while (!exit) {

	struct gemini_response resp;

	if (r != GEMINI_OK) {

		fprintf(stderr, "Error: %s\n", gemini_strerr(r, &resp));

		ret = (int)r;

Proxy Information
Original URL
gemini://gmn.clttr.info:1965/sources/cgmnlm.git/commits/eb01fde6007ea86b61227f690f8ee7ff0047bfeb.patch
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
137.727068 milliseconds
Gemini-to-HTML Time
0.659579 milliseconds

This content has been proxied by September (ba2dc).