From a5d575bc86464543446e24d7c089b0363b00a399 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Fri, 29 Sep 2000 18:12:50 +0000 Subject: Correctly handle the case where the connection doesn't complete immediately. --- omapip/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'omapip/protocol.c') diff --git a/omapip/protocol.c b/omapip/protocol.c index f1fee6ed..d222e5c8 100644 --- a/omapip/protocol.c +++ b/omapip/protocol.c @@ -66,7 +66,7 @@ isc_result_t omapi_protocol_connect (omapi_object_t *h, return status; status = omapi_connect ((omapi_object_t *)obj, server_name, port); - if (status != ISC_R_SUCCESS) { + if (status != ISC_R_SUCCESS && status != ISC_R_INCOMPLETE) { omapi_protocol_dereference (&obj, MDL); return status; } -- cgit v1.2.1