mirror of
https://github.com/curl/curl.git
synced 2026-07-24 12:27:16 +03:00
tidy-up: use CURL_ARRAYSIZE()
Follow-up to 13b2ea68f0 #16111
Closes #16381
This commit is contained in:
parent
1b710381ca
commit
3fd1dfc829
35 changed files with 52 additions and 64 deletions
|
|
@ -207,7 +207,7 @@ static void state(struct Curl_easy *data, sshstate nowstate)
|
|||
};
|
||||
|
||||
/* a precaution to make sure the lists are in sync */
|
||||
DEBUGASSERT(sizeof(names)/sizeof(names[0]) == SSH_LAST);
|
||||
DEBUGASSERT(CURL_ARRAYSIZE(names) == SSH_LAST);
|
||||
|
||||
if(sshc->state != nowstate) {
|
||||
infof(data, "wolfssh %p state change from %s to %s",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue