From 89e73c2d7fc69f14bf21e6874b877b3ee70158f8 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 29 Oct 2007 17:12:35 +0000 Subject: [PATCH] Add keep/delete config to pop3 client --- webcit/roomops.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/webcit/roomops.c b/webcit/roomops.c index ae8490bdf..80c8e4e14 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -1776,6 +1776,8 @@ void display_editroom(void) wprintf(_("User name")); wprintf(""); wprintf(_("Password")); + wprintf(""); + wprintf(_("Keep messages on server?")); wprintf(""); serv_puts("GNET"); @@ -1798,6 +1800,8 @@ void display_editroom(void) wprintf("*****"); /* Don't show the password */ + wprintf("%s", extract_int(buf, 4) ? _("Yes") : _("No")); + wprintf(""); wprintf(" \n"); wprintf(""); wprintf(""); + wprintf(""); + wprintf(""); + wprintf(""); wprintf("", _("Add")); wprintf(""); wprintf("\n"); @@ -2584,6 +2591,8 @@ void netedit(void) { strcat(line, bstr("line_pop3user")); strcat(line, "|"); strcat(line, bstr("line_pop3pass")); + strcat(line, "|"); + strcat(line, atoi(bstr("line_pop3keep")) ? "1" : "0" ); strcat(line, bstr("suffix")); } else if (!IsEmptyStr(bstr("line"))) { -- 2.39.2