Changeset f4fdcd1


Ignore:
Timestamp:
03/02/17 13:52:15 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, master, ndag_format, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance
Children:
33a106a
Parents:
684a21c
Message:

Fix missing braces around "if" in trace_pstart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace_parallel.c

    rdb84bb2 rf4fdcd1  
    17331733                        ret = libtrace->format->start_input(libtrace);
    17341734                }
    1735                 if (libtrace->perpkt_thread_count > 1)
     1735                if (libtrace->perpkt_thread_count > 1) {
    17361736                        libtrace->pread = trace_pread_packet_first_in_first_served;
    17371737                        /* Don't wait for a burst of packets if the format is
     
    17411741                                libtrace->config.burst_size = 1;
    17421742                        }
    1743                 else
     1743                }
     1744                else {
    17441745                        /* Use standard read_packet */
    17451746                        libtrace->pread = NULL;
     1747                }
    17461748        }
    17471749
Note: See TracChangeset for help on using the changeset viewer.