Skip to content
Snippets Groups Projects
Commit 2106e629 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Modernize finduser() a bit

Skip any prepended white-space in the passed name to find.
Use better variable names (and length) for the character strings.
Use matchusername() instead of strcmp(); matchusername() follows the liberal user-id/alias/name matching algorithm.
Use strcasestr() instead of strstr(), so no copy/modification (upper-casing) of passed name is now required.
When 'Q'uitting the search, set the SS_ABORT flag.
parent 4415d99b
No related branches found
No related tags found
Loading
Pipeline #2361 passed