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

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
@@ -153,6 +157,9 @@ char *curl_version(void)
#endif
#ifdef USE_GSASL
char gsasl_buf[30];
#endif
#ifdef USE_OPENLDAP
char ldap_buf[30];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cant you declare the variable in the scope below?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants