From: Ted Lemon Date: Fri, 29 Sep 2000 18:12:50 +0000 (+0000) Subject: Correctly handle the case where the connection doesn't complete immediately. X-Git-Tag: V3-BETA-2-PATCH-6~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5d575bc86464543446e24d7c089b0363b00a399;p=thirdparty%2Fdhcp.git Correctly handle the case where the connection doesn't complete immediately. --- diff --git a/omapip/protocol.c b/omapip/protocol.c index f1fee6ede..d222e5c81 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; }