mirror of
https://github.com/curl/curl.git
synced 2026-07-25 18:37:17 +03:00
fixup make it C89 friendly
This commit is contained in:
parent
96a3902cd7
commit
7c991a8d6c
1 changed files with 2 additions and 4 deletions
|
|
@ -462,10 +462,8 @@ static CURLcode oldap_perform_mechs(struct Curl_easy *data)
|
|||
Curl_conn_meta_get(data->conn, CURL_META_LDAP_CONN);
|
||||
int rc;
|
||||
char name[]="supportedSASLMechanisms";
|
||||
char *supportedSASLMechanisms[2] = {
|
||||
name,
|
||||
NULL
|
||||
};
|
||||
char *supportedSASLMechanisms[2] = { NULL, NULL };
|
||||
supportedSASLMechanisms[0] = name;
|
||||
|
||||
if(!li)
|
||||
return CURLE_FAILED_INIT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue