From d1076efc91e0286c56d24e2b916ceb8d4773c635 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 23 Feb 2024 11:39:13 +0000 Subject: [PATCH] fixed the undefined reference git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@250 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/IRC.c | 2 ++ W3Version.h.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/IRC.c b/Library/IRC.c index b63dde8..2d75982 100644 --- a/Library/IRC.c +++ b/Library/IRC.c @@ -214,6 +214,8 @@ void W3_IRC_Set_Nickname(struct W3* w3, const char* nickname) { __W3_Add_Prop(w3 void W3_IRC_Set_Password(struct W3* w3, const char* password) { __W3_Add_Prop(w3, "IRC_PASSWORD", password); } +void W3_IRC_Disconnect(struct W3* w3) { __W3_Auto_Write(w3, "QUIT\r\n", 6); } + void W3_IRC_Send_Request(struct W3* w3) { __W3_Auto_Write(w3, w3->method, strlen(w3->method)); __W3_Auto_Write(w3, " ", 1); diff --git a/W3Version.h.m4 b/W3Version.h.m4 index 8342490..6b9b042 100644 --- a/W3Version.h.m4 +++ b/W3Version.h.m4 @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "2.18" \ +#define LIBW3_VERSION "2.18A" \ SUFFIX ifdef(`HTTP_SUPPORT', `#define LIBW3_HTTP_SUPPORT', `') -- 2.43.0