- Timestamp:
- Jun 8, 2021, 11:00:22 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ntripserver/ntripserver.c
r9456 r9457 1501 1501 int totalbytes = 0; 1502 1502 int nChunkBytes = 0; 1503 char chunkBytes[BUFSZ] ;1503 char chunkBytes[BUFSZ] = { 0 }; 1504 1504 1505 1505 long i; … … 1557 1557 } 1558 1558 else { 1559 if (nChunkBytes <= nBufferBytes) {1560 1559 memset((char*) &buffer, 0x00, sizeof(buffer)); 1561 1560 memcpy(buffer, chunkBytes, (size_t) nChunkBytes); 1562 1561 nBufferBytes = nChunkBytes; 1563 }1564 1562 } 1565 1563 }
Note:
See TracChangeset
for help on using the changeset viewer.