Navigation


Changeset 946:5d9229144cac in freeDiameter for libfdcore/config.c


Ignore:
Timestamp:
Feb 12, 2013, 8:38:32 PM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Change macro so complete lines can be logged at once.
Make some macros share their format string.
Adapt users.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/config.c

    r897 r946  
    352352                                fd_list_unlink(&ep->chain);
    353353                                if (TRACE_BOOL(INFO)) {
    354                                         fd_log_debug("Info: Removing local address conflicting with the flags no_IP / no_IP6 : ");
    355                                         sSA_DUMP_NODE( &ep->sa, NI_NUMERICHOST );
    356                                         fd_log_debug("\n");
     354                                        char buf[1024];
     355                                        sSA_DUMP_NODE( buf, sizeof(buf), &ep->sa, NI_NUMERICHOST );
     356                                        fd_log_debug("Info: Removing local address conflicting with the flags no_IP / no_IP6 : %s\n", buf);
    357357                                }
    358358                                free(ep);
Note: See TracChangeset for help on using the changeset viewer.