Changeset 8c5c550


Ignore:
Timestamp:
12/10/18 16:09:46 (23 months ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
ccabd47
Parents:
10fd24b
Message:

Fix build errors introduced recently in format_dag25.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dag25.c

    r418c78d r8c5c550  
    247247                trace_set_err(libtrace, TRACE_ERR_INIT_FAILED,
    248248                        "Unable to create list for stream in dag_init_format_data()");
    249                 return -1;
     249                return;
    250250        }
    251251
     
    622622                 * the user to configure this correctly. */
    623623                return 0;
    624         }
    625624        case TRACE_OPTION_CONSTANT_ERF_FRAMING:
    626625                return -1;
     626        }
    627627        return -1;
    628628}
     
    12401240                if (trace_get_capture_length(packet) <= 0
    12411241                       || trace_get_capture_length(packet) > 65536) {
    1242                         trace_set_err(libtrace, TRACE_ERR_BAD_PACKET,
     1242                        trace_set_err_out(libtrace, TRACE_ERR_BAD_PACKET,
    12431243                                "Capture length is out of range in dag_write_packet()");
    12441244                        return -1;
     
    12461246                if (erf_get_framing_length(packet) <= 0
    12471247                       || trace_get_framing_length(packet) > 65536) {
    1248                         trace_set_err(libtrace, TRACE_ERR_BAD_PACKET,
     1248                        trace_set_err_out(libtrace, TRACE_ERR_BAD_PACKET,
    12491249                                "Framing length is out of range in dag_write_packet()");
    12501250                        return -1;
     
    12541254                       || trace_get_capture_length(packet) +
    12551255                       erf_get_framing_length(packet) > 65536) {
    1256                         trace_set_err(libtrace, TRACE_ERR_BAD_PACKET,
     1256                        trace_set_err_out(libtrace, TRACE_ERR_BAD_PACKET,
    12571257                                "Capture + framing length is out of range in dag_write_packet()");
    12581258                        return -1;
Note: See TracChangeset for help on using the changeset viewer.