]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
it's OK if this option doesn't get set. CID #1419875
authorAlan T. DeKok <aland@freeradius.org>
Fri, 20 Oct 2017 18:08:37 +0000 (14:08 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 20 Oct 2017 18:08:37 +0000 (14:08 -0400)
src/lib/ldap/start_tls.c

index b8eef16b15870ec2ad2c4d60b96a5d0570555989..1faddd40dc354318b7893f1bef1ba649a2640e2d 100644 (file)
@@ -161,7 +161,7 @@ static void _ldap_start_tls_io_write(fr_event_list_t *el, int fd, UNUSED int fla
         *      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);
        ret = ldap_start_tls(c->handle, our_serverctrls, our_clientctrls, &tls_ctx->msgid);
        /*
         *      If the handle was not connected, this operation