summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-07-28 07:06:13 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-07-28 07:15:41 +0200
commit4565afe29488eb347eafa966eb57885adc1050b6 (patch)
treed0359806ab182368d36b09f521f500cdfd9f3597
parent3ad8c79de8724d3661c7502d6951f861eb3cebc7 (diff)
downloadxK-4565afe29488eb347eafa966eb57885adc1050b6.tar.gz
xK-4565afe29488eb347eafa966eb57885adc1050b6.tar.xz
xK-4565afe29488eb347eafa966eb57885adc1050b6.zip
xC: expand a comment
-rw-r--r--xC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xC.c b/xC.c
index 75cbb93..3e2a370 100644
--- a/xC.c
+++ b/xC.c
@@ -1,7 +1,7 @@
/*
* xC.c: a terminal-based IRC client
*
- * Copyright (c) 2015 - 2022, Přemysl Eric Janouch <p@janouch.name>
+ * Copyright (c) 2015 - 2024, Přemysl Eric Janouch <p@janouch.name>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted.
@@ -15867,6 +15867,7 @@ relay_start (struct app_context *ctx, char *address, struct error **e)
}
// Just try the first one, disregarding IPv4/IPv6 ordering.
+ // Use 0.0.0.0 or [::] to request either one specifically.
int fd = relay_listen_with_context (ctx, result, e);
freeaddrinfo (result);
if (fd == -1)