Changeset 9457 in ntrip for trunk


Ignore:
Timestamp:
Jun 8, 2021, 11:00:22 AM (3 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripserver/ntripserver.c

    r9456 r9457  
    15011501      int totalbytes = 0;
    15021502      int nChunkBytes = 0;
    1503       char chunkBytes[BUFSZ];
     1503      char chunkBytes[BUFSZ] = { 0 };
    15041504
    15051505      long i;
     
    15571557      }
    15581558      else {
    1559        if (nChunkBytes <= nBufferBytes) {
    15601559          memset((char*) &buffer, 0x00, sizeof(buffer));
    15611560          memcpy(buffer, chunkBytes, (size_t) nChunkBytes);
    15621561          nBufferBytes = nChunkBytes;
    1563         }
    15641562      }
    15651563    }
Note: See TracChangeset for help on using the changeset viewer.