commit 302f0dcae80db81929d2c07275e67099769188b6
parent 857c35cf6bb2c59a3051fa68b89b27e5ac1638cd
Author: Mario Rosell R. Martinez <mario@mariorosell.es>
Date: Sun, 22 Mar 2026 18:10:44 +0100
mist: Some weird shit
Diffstat:
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/anntp.h b/anntp.h
@@ -249,7 +249,7 @@ anntp_mkconn(const char* host, const char* port, Bool tls)
int err = getaddrinfo(host, port, &hints, &res);
if (err != 0 || !res) {
- ANNTP_PRINTF(stderr, "anntp - cant resolve host `%s': %s\n", host, gai_strerror(err));
+ ANNTP_PRINTF("anntp - cant resolve host `%s': %s\n", host, gai_strerror(err));
goto cleanup;
}
diff --git a/examples/TODO b/examples/TODO
@@ -0,0 +1 @@
+TODO: add more examples
diff --git a/examples/nntpsh.c b/examples/nntpsh.c
@@ -1,5 +1,5 @@
/*
- * anntp v0.1DEV: nntpsh.c - example 1 - nntp shell
+ * anntp v0.1: nntpsh.c - example 1 - nntp shell
*
* This program basically connects to a host and allows you to run commands.
*