Navigation


Changeset 1085:7d7266115a34 in freeDiameter for libfdcore/tcp.c


Ignore:
Timestamp:
May 3, 2013, 8:20:56 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Cleaning of the traces in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/tcp.c

    r965 r1085  
    124124        int ret = 0;
    125125        int s;
     126        char * buf = NULL; size_t len = 0;
    126127       
    127128        TRACE_ENTRY("%p %p %d", sock, sa, salen);
     
    137138        pthread_cleanup_push(fd_cleanup_socket, &s);
    138139       
    139         TRACE_sSA(FD_LOG_DEBUG, FULL, "Attempting TCP connection with peer: ", sa, NI_NUMERICHOST | NI_NUMERICSERV, "..." );
     140        LOG_D( "Attempting TCP connection to %s...", fd_sa_dump_node(&buf, &len, NULL, sa, NI_NUMERICHOST | NI_NUMERICSERV)?:"<error>" );
     141        free(buf);
    140142       
    141143        /* Try connecting to the remote address */
Note: See TracChangeset for help on using the changeset viewer.