Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version: add OpenLDAP version in the output #7054

Closed
wants to merge 1 commit into from
Closed

Conversation

@bagder
Copy link
Member

@bagder bagder commented May 12, 2021

No description provided.

@bagder bagder added the LDAP label May 12, 2021
Assisted-by: Howard Chu
Closes #7054
@bagder bagder force-pushed the bagder/openldap-version branch from e1c5a26 to 65104fa May 12, 2021
@@ -153,6 +157,9 @@ char *curl_version(void)
#endif
#ifdef USE_GSASL
char gsasl_buf[30];
#endif
#ifdef USE_OPENLDAP
char ldap_buf[30];

This comment has been minimized.

@emilengler

emilengler May 12, 2021
Contributor

Cant you declare the variable in the scope below?

This comment has been minimized.

@bagder

bagder May 12, 2021
Author Member

No, because it needs to remain in scope for the src[] array when it creates the final string just below this section.

@bagder bagder closed this in bf0feae May 13, 2021
@bagder bagder deleted the bagder/openldap-version branch May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants