From a1bfc94ab35c426b75efedea0df21acec7d1eeed Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 13 Aug 2004 00:55:15 +0000 Subject: [PATCH] r1798: fix the build metze --- source/libcli/ldap/ldap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libcli/ldap/ldap.c b/source/libcli/ldap/ldap.c index d7c24e8c037..16f775a4511 100644 --- a/source/libcli/ldap/ldap.c +++ b/source/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;