svn commit: samba r15288 - in
branches/SAMBA_4_0/source/libcli/ldap: .
idra at samba.org
idra at samba.org
Wed Apr 26 16:52:45 GMT 2006
Author: idra
Date: 2006-04-26 16:52:45 +0000 (Wed, 26 Apr 2006)
New Revision: 15288
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15288
Log:
fix some problems
Modified:
branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c 2006-04-26 16:31:40 UTC (rev 15287)
+++ branches/SAMBA_4_0/source/libcli/ldap/ldap_client.c 2006-04-26 16:52:45 UTC (rev 15288)
@@ -88,7 +88,7 @@
}
talloc_free(conn->tls);
- talloc_free(conn->sock); /* this will also free event.fde */
+/* talloc_free(conn->sock); this will also free event.fde */
talloc_free(conn->packet);
conn->tls = NULL;
conn->sock = NULL;
@@ -621,7 +621,7 @@
*/
NTSTATUS ldap_request_wait(struct ldap_request *req)
{
- while (req->state <= LDAP_REQUEST_DONE) {
+ while (req->state < LDAP_REQUEST_DONE) {
if (event_loop_once(req->conn->event.event_ctx) != 0) {
req->status = NT_STATUS_UNEXPECTED_NETWORK_ERROR;
break;
@@ -734,7 +734,7 @@
NT_STATUS_HAVE_NO_MEMORY(req);
- while (req->state <= LDAP_REQUEST_DONE && n >= req->num_replies) {
+ while (req->state < LDAP_REQUEST_DONE && n >= req->num_replies) {
if (event_loop_once(req->conn->event.event_ctx) != 0) {
return NT_STATUS_UNEXPECTED_NETWORK_ERROR;
}
More information about the samba-cvs
mailing list