std-aux/trivial: fix typo in code comment

This commit is contained in:
Thomas Haller 2022-09-27 09:45:35 +02:00
parent f786b05479
commit efcc030752
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -507,7 +507,7 @@ nm_memeq(const void *s1, const void *s2, size_t len)
/*
* Very similar to g_str_has_prefix() with the obvious meaning.
* Differences:
* 1) suffix is enforced to be a C string literal
* 1) prefix is enforced to be a C string literal
* (it is thus more restricted, but you'll know it at compile time).
* 2) it accepts str==NULL
* (it is thus more forgiving than g_str_has_prefix())