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

getGlobalOption for timeval can cause issue on Windows #95

Closed
sshanks-kx opened this issue Jul 1, 2020 · 3 comments
Closed

getGlobalOption for timeval can cause issue on Windows #95

sshanks-kx opened this issue Jul 1, 2020 · 3 comments
Assignees

Comments

@sshanks-kx
Copy link
Collaborator

Example

\l ldap.q
\c 25 2000
timeout:3000000
-1"### Set option";
.ldap.setGlobalOption[`LDAP_OPT_TIMEOUT;timeout]
-1"### Value now set to ";string .ldap.getGlobalOption[`LDAP_OPT_TIMEOUT]
-1"### Done";
exit 0
@sshanks-kx sshanks-kx self-assigned this Jul 1, 2020
@sshanks-kx
Copy link
Collaborator Author

Version 2.04.50 - so current latest lib

@sshanks-kx
Copy link
Collaborator Author

Get calls ldap_int_timeval_dup which calls LDAP_MALLOC - so when docs says user must free memory, they prob mean ldap_memfree not free

@sshanks-kx
Copy link
Collaborator Author

Bug on ldap man page created on https://bugs.openldap.org/show_bug.cgi?id=9292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant