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;
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) &&
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;
}
}
}
- svput("SMSNUM", WCS_STRING, " ");
serv_printf("GOTO %s", ChrPtr(WC->CurRoom.name));
StrBuf_ServGetln(Buf);
GetServerStatus(Buf, NULL);
}
while (!Done &&
- StrBuf_ServGetln(Buf)) {
+ StrBuf_ServGetln(Buf) >= 0) {
if ( (StrLength(Buf)==3) &&
!strcmp(ChrPtr(Buf), "000")) {
Done = 1;