Navigation


Changeset 1163:6df90573cf57 in freeDiameter for libfdcore


Ignore:
Timestamp:
Jun 1, 2013, 12:33:16 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove \n from LOG_E line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/hooks.c

    r1128 r1163  
    359359                                        CHECK_MALLOC_DO(fd_msg_dump_treeview(&buf, &len, NULL, msg, NULL, 0, 1), break);
    360360                                       
    361                                         LOG_E("Parsing error: '%s' for the following message received from '%s':\n%s", (char *)other, (char *)id, buf);
     361                                        LOG_E("Parsing error: '%s' for the following message received from '%s':", (char *)other, (char *)id);
     362                                        LOG_E("%s", buf);
    362363                                } else {
    363364                                        struct fd_cnx_rcvdata *rcv_data = other;
     
    378379                                CHECK_MALLOC_DO(fd_msg_dump_treeview(&buf, &len, NULL, msg, NULL, 0, 1), break);
    379380
    380                                 LOG_E("Routing error: '%s' for the following message:\n%s", (char *)other, buf);
     381                                LOG_E("Routing error: '%s' for the following message:", (char *)other);
     382                                LOG_E("%s", buf);
    381383                                break;
    382384                        }
     
    396398                        case HOOK_MESSAGE_DROPPED: {
    397399                                CHECK_MALLOC_DO(fd_msg_dump_treeview(&buf, &len, NULL, msg, NULL, 0, 1), break);
    398                                 LOG_E("Message discarded ('%s'):\n%s", (char *)other, buf);
     400                                LOG_E("Message discarded ('%s'):", (char *)other);
     401                                LOG_E("%s", buf);
    399402                                break;
    400403                        }
Note: See TracChangeset for help on using the changeset viewer.