mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:03:47 +03:00
strcase.h: add comment about the return code
Tool often we run into expecting this to work like strcmp, but it returns 1 instead of 0 for match. Closes #8658
This commit is contained in:
parent
3bc5b32db5
commit
62d5818242
2 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,8 @@
|
|||
* and only compare strings we know are safe for this.
|
||||
*
|
||||
* The function is capable of comparing a-z case insensitively.
|
||||
*
|
||||
* Result is 1 if text matches and 0 if not.
|
||||
*/
|
||||
|
||||
#define strcasecompare(a,b) Curl_strcasecompare(a,b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue