Navigation


Changeset 974:2091bf698fb1 in freeDiameter for libfdcore/server.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/server.c

    r931 r974  
    9898        struct fd_list * li, *cli;
    9999       
    100         fd_log_debug("Dumping servers list :\n");
     100        fd_log_debug("Dumping servers list :");
    101101        for (li = FD_SERVERS.next; li != &FD_SERVERS; li = li->next) {
    102102                struct server * s = (struct server *)li;
    103103                enum s_state st = get_status(s);
    104                 fd_log_debug("  Serv %p '%s': %s, %s, %s\n",
     104                fd_log_debug("  Serv %p '%s': %s, %s, %s",
    105105                                s, fd_cnx_getid(s->conn),
    106106                                IPPROTO_NAME( s->proto ),
     
    115115                        struct client * c = (struct client *)cli;
    116116                        char bufts[128];
    117                         fd_log_debug("     Connected: '%s' (timeout: %s)\n",
     117                        fd_log_debug("     Connected: '%s' (timeout: %s)",
    118118                                        fd_cnx_getid(c->conn),
    119119                                        fd_log_time(&c->ts, bufts, sizeof(bufts)));
     
    148148                if (ret != 0) {
    149149                        if (TRACE_BOOL(INFO)) {
    150                                 fd_log_debug("TLS handshake failed for client '%s', connection aborted.\n", fd_cnx_getid(c->conn));
     150                                fd_log_debug("TLS handshake failed for client '%s', connection aborted.", fd_cnx_getid(c->conn));
    151151                        }
    152152                        goto cleanup;
     
    177177        CHECK_FCT_DO( fd_msg_hdr ( msg, &hdr ), goto fatal_error );
    178178        CHECK_PARAMS_DO( (hdr->msg_appl == 0) && (hdr->msg_flags & CMD_FLAG_REQUEST) && (hdr->msg_code == CC_CAPABILITIES_EXCHANGE),
    179                 { fd_log_debug("Connection '%s', expecting CER, received something else, closing...\n", fd_cnx_getid(c->conn)); goto cleanup; } );
     179                { fd_log_debug("Connection '%s', expecting CER, received something else, closing...", fd_cnx_getid(c->conn)); goto cleanup; } );
    180180       
    181181        /* Finally, pass the information to the peers module which will handle it next */
     
    387387                CHECK_FCT(fd_cnx_get_local_eps(&fd_g_config->cnf_endpoints));
    388388                if (FD_IS_LIST_EMPTY(&fd_g_config->cnf_endpoints)) {
    389                         TRACE_DEBUG(INFO, "Unable to find the address(es) of the local system.\n"
     389                        TRACE_DEBUG(INFO, "Unable to find the address(es) of the local system."
    390390                                        "Please use \"ListenOn\" parameter in the configuration.\n"
    391391                                        "This information is required to generate the CER/CEA messages.\n");
     
    394394        }
    395395        if (TRACE_BOOL(FULL)){
    396                 fd_log_debug("  Local server address(es) :\n");
     396                fd_log_debug("  Local server address(es) :");
    397397                fd_ep_dump( 5, &fd_g_config->cnf_endpoints );
    398398        }
Note: See TracChangeset for help on using the changeset viewer.