X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fpushemail.c;h=3346d83ba2061de9ead1acf3b96f2a6946d1f86e;hb=5c67cc635952963d041472aaca778106522797ab;hp=d4e06bed52e2fd450b583fd39c24d341369fc226;hpb=85ae093a7401ea30ff071d833c6456ab8880ad15;p=citadel.git diff --git a/webcit/pushemail.c b/webcit/pushemail.c index d4e06bed5..3346d83ba 100644 --- a/webcit/pushemail.c +++ b/webcit/pushemail.c @@ -30,10 +30,10 @@ void display_pushemail(void) { serv_printf("MSG0 %d", msgnum); serv_getln(buf, sizeof buf); if (buf[0] == '1') { + int i =0; while (serv_getln(buf, sizeof buf), (strcmp(buf, "text") && strcmp(buf, "000"))) { } - int i =0; if (!strcmp(buf, "text")) { while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) { if (strncasecmp(buf, "none", 4) == 0) { @@ -64,7 +64,7 @@ void display_pushemail(void) { } output_headers(1, 1, 2, 0, 0, 0); do_template("pushemail", NULL); -//do_template("endbox"); +/*do_template("endbox"); */ wDumpContent(1); }