Changeset 9452 in ntrip for trunk/ntripserver


Ignore:
Timestamp:
Jun 7, 2021, 9:54:19 AM (3 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripserver/ntripserver.c

    r9451 r9452  
    17061706        fprintf(stderr, "Control connection read error\n");
    17071707        return;
    1708       }
    1709     }
    1710     else if ((nBufferBytes) && (outmode == TCPIP)) {
    1711       int i;
    1712       if ((i = send(sock, buffer, (size_t) nBufferBytes, MSG_DONTWAIT)) != nBufferBytes) {
    1713         if (i < 0) {
    1714           if (errno != EAGAIN) {
    1715             perror("WARNING: could not send data to IP server and port");
    1716             return;
    1717           }
    1718         } else if (i) {
    1719           memmove(buffer, buffer + i, (size_t) (nBufferBytes - i));
    1720           nBufferBytes -= i;
    1721         }
    1722       } else {
    1723         nBufferBytes = 0;
    17241708      }
    17251709    }
Note: See TracChangeset for help on using the changeset viewer.