- (nRead = StrBuf_ServGetln(Buf)),
- (nRead >= 0) &&
- (buf += nRead), (strcmp(buf, "000") != 0)) {
-
+ (nRead = StrBuf_ServGetln(Buf), (nRead >= 0) ))
+ {
+ if (strcmp(ChrPtr(Buf) + nTotal, "000") != 0) {
+ StrBufCutRight(Buf, nRead);
+ break;
+ }
+ nTotal += nRead;