Skip to content
  • Nick Mathewson's avatar
    Replace use of strcmp_len() with new mem_eq_token(). · a0fad398
    Nick Mathewson authored
    The strcmp_len() function was somewhat misconceived, since we're
    only using it to test whether a length+extent string is equal to a
    NUL-terminated string or not.  By simplifying it and making it
    inlined, we should be able to make it a little faster.
    
    (It *does* show up in profiles.)
    
    Closes ticket 28856.
    a0fad398