Changeset 1260 in ntrip for trunk/BNS/bns.cpp


Ignore:
Timestamp:
Dec 2, 2008, 12:30:54 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r1258 r1260  
    420420          int len = MakeClockOrbit(&co, COTYPE_AUTO, 0, obuffer, sizeof(obuffer));
    421421          if (len > 0) {
    422             if (ic == 0) { emit(newOutBytes1(len));}
    423             if (ic == 1) { emit(newOutBytes2(len));}
     422            if (_caster.at(ic)->ic() == 1) {
     423              emit(newOutBytes1(len));
     424            }
     425            else {
     426              emit(newOutBytes2(len));
     427            }
    424428            _caster.at(ic)->write(obuffer, len);
    425429          }
Note: See TracChangeset for help on using the changeset viewer.