Changeset 8a039be


Ignore:
Timestamp:
Sep 29, 2021, 7:06:48 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
1ed9cb63
Parents:
45c9441
Message:

Fixed options to correctly default to the default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/options.cfa

    r45c9441 r8a039be  
    5252        // bool sqkpoll = false;
    5353        // bool iokpoll = false;
    54         unsigned nentries = 16;
     54        unsigned nentries = 0;
    5555        bool isolate = false;
    5656
     
    7979        parse_args( argc, argv, opt, opt_cnt, "[OPTIONS]... [PATH]\ncforall http server", left );
    8080
    81         if( !is_pow2(nentries) ) {
     81        if( nentries != 0 && !is_pow2(nentries) ) {
    8282                unsigned v = nentries;
    8383                v--;
Note: See TracChangeset for help on using the changeset viewer.