From 2129ba5082d10e3934b57074231a74150265fece Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 13 Aug 2004 00:55:15 +0000 Subject: r1798: fix the build metze (This used to be commit a1bfc94ab35c426b75efedea0df21acec7d1eeed) --- source4/libcli/ldap/ldap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit