]> granicus.if.org Git - curl/commit
ldap: Pass write length in all Curl_client_write() calls
authorSteve Holme <steve_holme@hotmail.com>
Sat, 3 Jan 2015 17:39:23 +0000 (17:39 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 3 Jan 2015 18:46:31 +0000 (18:46 +0000)
commitd4b540f85a7f43d089e7c07f915f8a2fea3c494e
treeff499d20fc920ba9611b5c5fb42c0ecde30ae4fd
parent4967109ffc7380278099d48c3bf78a2468978d98
ldap: Pass write length in all Curl_client_write() calls

As we get the length for the DN and attribute variables, and we know
the length for the line terminator, pass the length values rather than
zero as this will save Curl_client_write() from having to perform an
additional strlen() call.
lib/ldap.c