mirror of
https://github.com/curl/curl.git
synced 2025-09-17 17:42:49 +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
1
.mailmap
1
.mailmap
|
@ -88,3 +88,4 @@ pheiduck on github <47042125+pheiduck@users.noreply.github.com>
|
||||||
neutric on github <5984479+neutric@users.noreply.github.com>
|
neutric on github <5984479+neutric@users.noreply.github.com>
|
||||||
Jan-Piet Mens <jp@mens.de>
|
Jan-Piet Mens <jp@mens.de>
|
||||||
Henrik Holst <henrik.holst@millistream.com>
|
Henrik Holst <henrik.holst@millistream.com>
|
||||||
|
Christian Schmitz <support@monkeybreadsoftware.de>
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
* and only compare strings we know are safe for this.
|
* and only compare strings we know are safe for this.
|
||||||
*
|
*
|
||||||
* The function is capable of comparing a-z case insensitively.
|
* 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)
|
#define strcasecompare(a,b) Curl_strcasecompare(a,b)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user