Skip to content

openldap: pass string length arguments to client_write()#8404

Closed
monnerat wants to merge 1 commit into
curl:masterfrom
monnerat:strconst
Closed

openldap: pass string length arguments to client_write()#8404
monnerat wants to merge 1 commit into
curl:masterfrom
monnerat:strconst

Conversation

@monnerat

@monnerat monnerat commented Feb 8, 2022

Copy link
Copy Markdown
Contributor

This is an strlen() optimization in the same way as commit 4028892 does.

This uses the new STRCONST() macro and saves 2 strlen() calls on short
string constants per LDIF output line.
@bagder

bagder commented Feb 9, 2022

Copy link
Copy Markdown
Member

Thanks!

@bagder bagder closed this in d9c61a9 Feb 9, 2022
@monnerat

monnerat commented Feb 9, 2022

Copy link
Copy Markdown
Contributor Author

Thanks for pulling.

@monnerat monnerat deleted the strconst branch February 9, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants