From: nishi Date: Sat, 27 Jan 2024 05:33:42 +0000 (+0000) Subject: fix X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=47e1cf69f349e2154d8c9deda2acc5dc9eae5687;p=libw3.git fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@109 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Example/pop3-list/pop3-list.c b/Example/pop3-list/pop3-list.c index 5f41215..2c2a38a 100644 --- a/Example/pop3-list/pop3-list.c +++ b/Example/pop3-list/pop3-list.c @@ -36,7 +36,7 @@ int main(int argc, char** argv) { struct W3* w3 = W3_Create("pop3", argv[1], 110); W3_POP3_Set_Username(w3, argv[2]); W3_POP3_Set_Password(w3, argv[3]); - W3_On(w3, "login", login_handler); + W3_On(w3, "pop3login", login_handler); W3_On(w3, "pop3data", list_handler); W3_Send_Request(w3); } diff --git a/Library/POP3.c b/Library/POP3.c index 5a8a0ac..82af69e 100644 --- a/Library/POP3.c +++ b/Library/POP3.c @@ -60,7 +60,7 @@ void __W3_POP3_Request(struct W3* w3) { if(login == 2) { /* Login success */ login = 3; - void* funcptr = __W3_Get_Event(w3, "login"); + void* funcptr = __W3_Get_Event(w3, "pop3login"); if(funcptr != NULL) { void (*func)(struct W3*, int) = (void (*)(struct W3*, int))funcptr; func(w3, 512); diff --git a/W3Version.h.p b/W3Version.h.p index 8124100..6e9df11 100644 --- a/W3Version.h.p +++ b/W3Version.h.p @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "1.6C" \ +#define LIBW3_VERSION "1.6D" \ SUFFIX #ifdef __cplusplus