mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:13:35 +03:00
strcasecompare: is the new name for strequal()
... to make it less likely that we forget that the function actually does case insentive compares. Also replaced several invokes of the function with a plain strcmp when case sensitivity is not an issue (like comparing with "-").
This commit is contained in:
parent
1833a45dde
commit
502acba2af
36 changed files with 98 additions and 111 deletions
|
|
@ -1233,7 +1233,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
sshc->acceptfail = TRUE;
|
||||
}
|
||||
|
||||
if(curl_strequal("pwd", cmd)) {
|
||||
if(strcasecompare("pwd", cmd)) {
|
||||
/* output debug output if that is requested */
|
||||
char *tmp = aprintf("257 \"%s\" is current directory.\n",
|
||||
sftp_scp->path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue