Changeset 2833 in ntrip


Ignore:
Timestamp:
Dec 25, 2010, 7:06:22 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r2831 r2833  
    163163  long newTime = obs.GPSWeek * 7*24*3600 + iSec;
    164164
     165  // Rename the Station
     166  // ------------------
     167  strncpy(obs.StatID, staID.constData(),sizeof(obs.StatID));
     168  obs.StatID[sizeof(obs.StatID)-1] = '\0';
     169
    165170  // Output into the socket
    166171  // ----------------------
Note: See TracChangeset for help on using the changeset viewer.