]> Nishi Git Mirror - libw3.git/commitdiff
fix
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sat, 27 Jan 2024 05:33:42 +0000 (05:33 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sat, 27 Jan 2024 05:33:42 +0000 (05:33 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@109 d27a3e52-49c5-7645-884c-6793ebffc270

Example/pop3-list/pop3-list.c
Library/POP3.c
W3Version.h.p

index 5f412153b4156ea21ba479629c649587de2c6e0e..2c2a38ab232c59a68afdf5f01e3fc7791657114b 100644 (file)
@@ -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);
 }
index 5a8a0acf641d825b832ea9561d7152d1204a4182..82af69ea5e7463b045781d90676204749e7f7e86 100644 (file)
@@ -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);
index 81241000e6ffb79d027e95aabe009eb36a3a18dd..6e9df11890259bca7eec6256b9ebe8a3593ba2fc 100644 (file)
@@ -6,7 +6,7 @@
 extern "C" {
 #endif
 
-#define LIBW3_VERSION "1.6C" \
+#define LIBW3_VERSION "1.6D" \
 SUFFIX
 
 #ifdef __cplusplus