X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fpushemail.c;h=2f59929eb72037a921ba346be619356feb46adfc;hb=e6a76e17884a941739d7109d927e03a25e390c63;hp=482ee8a58afa60095f81f8ca50be31f24eef45e1;hpb=f5502938f1e4cac04e295dc05fe21293632ac1f0;p=citadel.git diff --git a/webcit/pushemail.c b/webcit/pushemail.c index 482ee8a58..2f59929eb 100644 --- a/webcit/pushemail.c +++ b/webcit/pushemail.c @@ -29,7 +29,7 @@ void display_pushemail(void) serv_puts("subj|__ Push email settings __"); serv_puts("000"); while (!Done && - StrBuf_ServGetln(Buf)) { + StrBuf_ServGetln(Buf) >= 0) { if ( (StrLength(Buf)==3) && !strcmp(ChrPtr(Buf), "000")) { Done = 1; @@ -45,7 +45,7 @@ void display_pushemail(void) int i =0; Done = 0; while (!Done && - StrBuf_ServGetln(Buf)) { + StrBuf_ServGetln(Buf) >= 0) { if (( (StrLength(Buf)==3) && !strcmp(ChrPtr(Buf), "000"))|| ((StrLength(Buf)==4) && @@ -58,7 +58,7 @@ void display_pushemail(void) if (!strcmp(ChrPtr(Buf), "text")) { Done = 0; while (!Done && - StrBuf_ServGetln(Buf)) { + StrBuf_ServGetln(Buf) >= 0) { if ( (StrLength(Buf)==3) && !strcmp(ChrPtr(Buf), "000")) { Done = 1; @@ -126,7 +126,7 @@ void save_pushemail(void) } while (!Done && - StrBuf_ServGetln(Buf)) { + StrBuf_ServGetln(Buf) >= 0) { if ( (StrLength(Buf)==3) && !strcmp(ChrPtr(Buf), "000")) { Done = 1;