Navigation


Changeset 974:2091bf698fb1 in freeDiameter for tests


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.

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/testcnx.c

    r859 r974  
    714714                #if 0
    715715                /* For debug: dump the object */
    716                 fd_log_debug("Dumping CER\n");
     716                fd_log_debug("Dumping CER");
    717717                fd_msg_dump_walk(0, cer);
    718718                #endif
  • tests/testmesg.c

    r931 r974  
    6161                #if 0
    6262                /* For debug: dump the object */
    63                 fd_log_debug("Dumping Accounting-Request empty message\n");
     63                fd_log_debug("Dumping Accounting-Request empty message");
    6464                fd_msg_dump_walk( 0, acr );
    6565                #endif
     
    7878                #if 0
    7979                /* For debug: dump the object */
    80                 fd_log_debug("Dumping Proxy-Info AVP\n");
     80                fd_log_debug("Dumping Proxy-Info AVP");
    8181                fd_msg_dump_walk(0, pi);
    82                 fd_log_debug("Dumping dictionary model\n");
     82                fd_log_debug("Dumping dictionary model");
    8383                fd_dict_dump_object(pi_model);
    8484                #endif
     
    106106                #if 0
    107107                /* For debug: dump the object */
    108                 fd_log_debug("Dumping Accounting-Request with Proxy-Info AVP at the end\n");
     108                fd_log_debug("Dumping Accounting-Request with Proxy-Info AVP at the end");
    109109                fd_msg_dump_walk(0, acr);
    110110                #endif
     
    364364                        CHECK( 0, fd_msg_update_length ( avpi ) );
    365365                        #if 0
    366                         fd_log_debug("AVP no vendor, value 3.1415:\n");
     366                        fd_log_debug("AVP no vendor, value 3.1415:");
    367367                        fd_msg_dump_one(0, avpi);
    368368                        #endif
     
    381381                        CHECK( 0, fd_msg_update_length ( avpi ) );
    382382                        #if 0
    383                         fd_log_debug("AVP vendor, value 0x123456789abcdeL:\n");
     383                        fd_log_debug("AVP vendor, value 0x123456789abcdeL:");
    384384                        fd_msg_dump_one(0, avpi);
    385385                        #endif
     
    407407                                CHECK( 0, fd_msg_avp_setvalue ( avpi, &request.search.enum_value ) );
    408408                                #if 0
    409                                 fd_log_debug("AVP enum i32, value 2 (from const):\n");
     409                                fd_log_debug("AVP enum i32, value 2 (from const):");
    410410                                fd_msg_dump_one(0, avpi);
    411411                                #endif
     
    428428                                CHECK( 0, fd_msg_avp_setvalue ( avpi, &request.search.enum_value ) );
    429429                                #if 0
    430                                 fd_log_debug("AVP enum i32, value -5 (from const):\n");
     430                                fd_log_debug("AVP enum i32, value -5 (from const):");
    431431                                fd_msg_dump_one(0, avpi);
    432432                                #endif
     
    443443                        CHECK( 0, fd_msg_update_length ( avpi ) );
    444444                        #if 0
    445                         fd_log_debug("AVP vendor enum i32, value -10 (not const):\n");
     445                        fd_log_debug("AVP vendor enum i32, value -10 (not const):");
    446446                        fd_msg_dump_one(0, avpi);
    447447                        #endif
     
    458458                                CHECK( 0, fd_msg_update_length ( avpi ) );
    459459                                #if 0
    460                                 fd_log_debug("AVP octet string, 'This\\0 is a b...'\n");
     460                                fd_log_debug("AVP octet string, 'This\\0 is a b...'");
    461461                                fd_msg_dump_one(0, avpi);
    462462                                #endif
     
    487487                                CHECK( 0, fd_msg_avp_setvalue ( avpi, &request.search.enum_value ) );
    488488                                #if 0
    489                                 fd_log_debug("AVP Enumuerated OctetString (from const):\n");
     489                                fd_log_debug("AVP Enumuerated OctetString (from const):");
    490490                                fd_msg_dump_one(0, avpi);
    491491                                #endif
     
    512512                                CHECK( 0, fd_msg_avp_setvalue ( avpi, &request.search.enum_value ) );
    513513                                #if 0
    514                                 fd_log_debug("AVP Enumuerated OctetString (from const):\n");
     514                                fd_log_debug("AVP Enumuerated OctetString (from const):");
    515515                                fd_msg_dump_one(0, avpi);
    516516                                #endif
     
    534534                                CHECK( 0, fd_msg_avp_setvalue ( avpch, &value ) );
    535535                                #if 0
    536                                 fd_log_debug("AVP octet string, '1234678'\n");
     536                                fd_log_debug("AVP octet string, '1234678'");
    537537                                fd_msg_dump_one(0, avpch);
    538538                                #endif
     
    547547                                CHECK( 0, fd_msg_avp_setvalue ( avpch, &value ) );
    548548                                #if 0
    549                                 fd_log_debug("AVP octet string, '12346789'\n");
     549                                fd_log_debug("AVP octet string, '12346789'");
    550550                                fd_msg_dump_one(0, avpch);
    551551                                #endif
Note: See TracChangeset for help on using the changeset viewer.