Navigation


Changeset 974:2091bf698fb1 in freeDiameter for libfdcore/p_cnx.c


Ignore:
Timestamp:
Mar 15, 2013, 2:14:35 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove newlines from fd_log_debug, TRACE_DEBUG, TRACE_ERROR, and TRACE_DEBUG_ERROR
(as far as sed could find them)
with manual fixing afterwards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/p_cnx.c

    r931 r974  
    9090                ret = getaddrinfo(peer->p_hdr.info.pi_diamid, NULL, &hints, &ai);
    9191                if (ret) {
    92                         TRACE_DEBUG(INFO, "Unable to resolve address for peer '%s' (%s), aborting\n", peer->p_hdr.info.pi_diamid, gai_strerror(ret));
     92                        TRACE_DEBUG(INFO, "Unable to resolve address for peer '%s' (%s), aborting", peer->p_hdr.info.pi_diamid, gai_strerror(ret));
    9393                        if (ret != EAI_AGAIN)
    9494                                fd_psm_terminate( peer, NULL );
     
    126126        /* Now check we have at least one address to attempt */
    127127        if (FD_IS_LIST_EMPTY(&peer->p_hdr.info.pi_endpoints)) {
    128                 TRACE_DEBUG(INFO, "No address %savailable to connect to peer '%s', aborting\n",
     128                TRACE_DEBUG(INFO, "No address %savailable to connect to peer '%s', aborting",
    129129                                        peer->p_hdr.info.config.pic_flags.pro3 ? "in the configured family " : "", peer->p_hdr.info.pi_diamid);
    130130                fd_psm_terminate( peer, NULL );
     
    279279                        {
    280280                                /* Handshake failed ...  */
    281                                 TRACE_DEBUG(INFO, "TLS Handshake failed with peer '%s', resetting the connection\n", peer->p_hdr.info.pi_diamid);
     281                                TRACE_DEBUG(INFO, "TLS Handshake failed with peer '%s', resetting the connection", peer->p_hdr.info.pi_diamid);
    282282                                fd_cnx_destroy(cnx);
    283283                                empty_connection_list(peer);
Note: See TracChangeset for help on using the changeset viewer.