From: nishi Date: Sat, 27 Jan 2024 09:20:38 +0000 (+0000) Subject: well X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=6182afa3e10086c3ebab2675065fd0297d1ed009;p=libw3.git well git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@115 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Example/pop3-list/pop3-list.c b/Example/pop3-list/pop3-list.c index 3a14eb0..2ccf98d 100644 --- a/Example/pop3-list/pop3-list.c +++ b/Example/pop3-list/pop3-list.c @@ -24,8 +24,7 @@ void list_handler(struct W3* w3, bool ok, char* data) { void login_handler(struct W3* w3) { printf("Logged in\n"); - W3_Set_Method(w3, "RETR"); - W3_Set_Path(w3, "1"); + W3_Set_Method(w3, "LIST"); W3_POP3_Send_Request(w3); }