Changeset 9467 in ntrip for trunk/ntripserver


Ignore:
Timestamp:
Jun 10, 2021, 11:03:23 AM (3 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripserver/ntripserver.c

    r9466 r9467  
    927927        if (bind(socket_tcp, (struct sockaddr *)&caster, sizeof(caster)) < 0)        {
    928928            perror("ERROR: bind failed");
     929            reconnect_sec_max = 0;
     930            output_init = 0;
    929931            break;
    930932        }
    931933        if (listen(socket_tcp, 3) < 0) {
    932934            perror("listen");
     935            reconnect_sec_max = 0;
     936            output_init = 0;
    933937            break;
    934938        }
     
    937941                                      (socklen_t*)&addrlen)) < 0) {
    938942            perror("ERROR: accept");
     943            reconnect_sec_max = 0;
     944            output_init = 0;
    939945            break;
    940946        }
Note: See TracChangeset for help on using the changeset viewer.