Skip to content

Commit

Permalink
it's OK if this option doesn't get set. CID #1419877
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Oct 20, 2017
1 parent 8cd2e1c commit 1c58931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ldap/bind.c
Expand Up @@ -124,7 +124,7 @@ static void _ldap_bind_io_write(fr_event_list_t *el, int fd, UNUSED int flags, v
* Set timeout to be 0.0, which is the magic
* non-blocking value.
*/
ldap_set_option(c->handle, LDAP_OPT_NETWORK_TIMEOUT, &tv);
(void) ldap_set_option(c->handle, LDAP_OPT_NETWORK_TIMEOUT, &tv);

if (bind_ctx->password) {
memcpy(&cred.bv_val, &bind_ctx->password, sizeof(cred.bv_val));
Expand Down

0 comments on commit 1c58931

Please sign in to comment.