Changeset 248 in ntrip for trunk/BNC/RTCM/RTCM2.cpp


Ignore:
Timestamp:
Oct 14, 2006, 10:15:41 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/RTCM2.cpp

    r247 r248  
    283283  while (!isHeader() || i<5 ) {
    284284    // Check if string is long enough; if not restore old word and exit
    285     if (buf.size() == 0 || buf.size()-1<i) {
     285    if (buf.size()<i+1) {
    286286      W = W_old;
    287287      failure = true;
Note: See TracChangeset for help on using the changeset viewer.