From bd40ebe7e9536acc7c975744332767a7f1419ded Mon Sep 17 00:00:00 2001 From: Tobias Girstmair Date: Fri, 3 May 2024 20:30:09 +0200 Subject: [PATCH] rename PORT_PLAIN to PORT_TCP --- ircpipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircpipe.c b/ircpipe.c index a467c61..af223f2 100644 --- a/ircpipe.c +++ b/ircpipe.c @@ -14,7 +14,7 @@ #define DEFAULT_PING 60000 /*ms*/ #define DEFAULT_TIMEOUT 2000 /*ms*/ #define DEFAULT_TLS NO_TLS -#define DEFAULT_PORT_PLAIN "6667" +#define DEFAULT_PORT_TCP "6667" #define DEFAULT_PORT_TLS "6697" #define POLL_TIMEOUT 100 @@ -299,7 +299,7 @@ int main(int argc, char **argv) { port = argv[optind++]; } else { port = (tls == NO_TLS) - ? DEFAULT_PORT_PLAIN + ? DEFAULT_PORT_TCP : DEFAULT_PORT_TLS; } if (optind < argc) { -- 2.39.3