Changeset 9109 in ntrip


Ignore:
Timestamp:
Sep 15, 2020, 3:08:04 PM (4 years ago)
Author:
stuerze
Message:

minor changes in Ntrip HTTP upload part

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripserver/ntripserver.c

    r8789 r9109  
    15891589      if(!remainChunk)
    15901590      {
    1591         int nChunkBytes = snprintf(szSendBuffer, sizeof(szSendBuffer),"%x\r\n",
    1592         nBufferBytes);
     1591        int nChunkBytes = snprintf(szSendBuffer, sizeof(szSendBuffer),"%x\r\n", nBufferBytes);
    15931592        send(sock, szSendBuffer, nChunkBytes, 0);
    15941593        remainChunk = nBufferBytes;
     
    16081607        nBufferBytes -= i;
    16091608        remainChunk -= i;
     1609      }
     1610      else
     1611      {
     1612          nBufferBytes = 0;
     1613          remainChunk = 0;
    16101614      }
    16111615      if(!remainChunk)
Note: See TracChangeset for help on using the changeset viewer.