Changeset 63 in ntrip


Ignore:
Timestamp:
Aug 24, 2006, 3:10:57 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTIGS/rtigs.cpp

    r61 r63  
    4141  bool   found = false;
    4242  size_t ii;
    43   for (ii = 0; ii < bufLen - sz; ii += sz) {
     43
     44  for (ii = 0; bufLen > sz && ii < bufLen - sz; ii += sz) {
    4445    unsigned short xx;
    4546    memcpy( (void*) &xx, &lBuffer[ii], sz);
Note: See TracChangeset for help on using the changeset viewer.