summaryrefslogtreecommitdiff
path: root/source4/libcli/ldap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-13 00:55:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:58 -0500
commit2129ba5082d10e3934b57074231a74150265fece (patch)
tree561d2f8fae6b288b61b3776b62f71671c69954be /source4/libcli/ldap
parent7b088a8f654f34911928dcdf320ca3cf79592aed (diff)
downloadsamba-2129ba5082d10e3934b57074231a74150265fece.tar.gz
samba-2129ba5082d10e3934b57074231a74150265fece.tar.bz2
samba-2129ba5082d10e3934b57074231a74150265fece.zip
r1798: fix the build
metze (This used to be commit a1bfc94ab35c426b75efedea0df21acec7d1eeed)
Diffstat (limited to 'source4/libcli/ldap')
-rw-r--r--source4/libcli/ldap/ldap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/ldap/ldap.c b/source4/libcli/ldap/ldap.c
index d7c24e8c03..16f775a451 100644
--- a/source4/libcli/ldap/ldap.c
+++ b/source4/libcli/ldap/ldap.c
@@ -1705,9 +1705,10 @@ struct ldap_message *ldap_receive(struct ldap_connection *conn, int msgid,
while (True) {
struct asn1_data data;
- result = new_ldap_message();
BOOL res;
+ result = new_ldap_message();
+
if (!asn1_read_sequence_until(conn->sock, &data, endtime))
return NULL;