+ wprintf("<select name=\"fileinto%d\">", i);
+ serv_puts("LKRA"); /* FIXME buffer this and keep reusing it */
+ serv_getln(buf, sizeof buf);
+ if (buf[0] == '1') {
+ while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
+ extract_token(targ, buf, 0, '|', sizeof targ);
+ if (!strcasecmp(targ, "Mail")) {
+ wprintf("<option selected>");
+ }
+ else {
+ wprintf("<option>");
+ }
+ escputs(targ);
+ wprintf("\n");
+ }
+ }
+ wprintf("</select>\n");