From c341311a0e875f4fc5229721c2f6ef19414f514e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 24 Nov 2015 09:32:42 +0100 Subject: Revert "cleanup: general removal of TODO (and similar) comments" This reverts commit 64e959ffe37c436503f9fed1ce2d6ee6ae50bd9a. Feedback-by: Dan Fandrich URL: http://curl.haxx.se/mail/lib-2015-11/0062.html --- lib/openldap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/openldap.c') diff --git a/lib/openldap.c b/lib/openldap.c index 862813b41..e479ebc75 100644 --- a/lib/openldap.c +++ b/lib/openldap.c @@ -176,7 +176,9 @@ static CURLcode ldap_setup_connection(struct connectdata *conn) li->proto = proto; conn->proto.generic = li; connkeep(conn, "OpenLDAP default"); - + /* TODO: + * - provide option to choose SASL Binds instead of Simple + */ return CURLE_OK; } @@ -479,6 +481,8 @@ static ssize_t ldap_recv(struct connectdata *conn, int sockindex, char *buf, lr->nument++; rc = ldap_get_dn_ber(li->ld, ent, &ber, &bv); if(rc < 0) { + /* TODO: verify that this is really how this return code should be + handled */ *err = CURLE_RECV_ERROR; return -1; } -- cgit v1.2.3