• Rusty Russell's avatar
    strset, strmap: invert iterator function meaning. · bb2a75f4
    Rusty Russell authored
    Make a false return abort the iteration, not true.
    
    The old way makes sense for search functions (true == I found it), but
    other kinds of iteration are more common (brute force search is
    probably dumb).
    bb2a75f4
strmap.c 5.06 KB