Changeset 9460 in ntrip


Ignore:
Timestamp:
Jun 8, 2021, 12:04:45 PM (6 days ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripserver/ntripserver.c

    r9459 r9460  
    15361536              i = chunksize;
    15371537            }
    1538             if (nChunkBytes <= nBufferBytes) {
     1538//            if (nChunkBytes <= nBufferBytes) {
    15391539              memcpy(chunkBytes + nChunkBytes, buffer + pos, (size_t) i);
    15401540              nChunkBytes += i;
    1541             }
     1541//            }
    15421542            totalbytes += i;
    15431543            chunksize -= i;
     
    15711571        if (i < 0) {
    15721572          if (errno != EAGAIN) {
    1573             perror("WARNING: could not send data to Destination caster");
    1574             if (outmode == NTRIP1) {
    1575               return;
    1576             }
    1577             if (outmode == TCPIP) {
    1578               memset((char*) &buffer, 0x00, sizeof(buffer));
    1579               nBufferBytes = 0;
    1580             }
     1573            perror("WARNING: could not send data to Destination caster or localhost");
     1574            return;
    15811575          }
    15821576        } else if (i) {
Note: See TracChangeset for help on using the changeset viewer.