summaryrefslogtreecommitdiff
path: root/omapip/connection.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-05-17 16:04:26 +0000
committerTed Lemon <source@isc.org>2000-05-17 16:04:26 +0000
commit165bce70b2e0ad650d07058744d187eba62ec999 (patch)
treeb278aec7344d61ccb08ea26c3f679aa05fb665a3 /omapip/connection.c
parent1dad22d82adee8809837682b0a7c6dc92f444fe3 (diff)
downloadisc-dhcp-165bce70b2e0ad650d07058744d187eba62ec999.tar.gz
Fix up various platform-specific errors.
Diffstat (limited to 'omapip/connection.c')
-rw-r--r--omapip/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omapip/connection.c b/omapip/connection.c
index cdeeeb2b..8b0cb986 100644
--- a/omapip/connection.c
+++ b/omapip/connection.c
@@ -307,7 +307,7 @@ isc_result_t omapi_connection_connect (omapi_object_t *h)
if (c -> state == omapi_connection_connecting) {
sl = sizeof error;
if (getsockopt (c -> socket, SOL_SOCKET, SO_ERROR,
- &error, &sl) < 0) {
+ (char *)&error, &sl) < 0) {
omapi_disconnect (h, 1);
return ISC_R_SUCCESS;
}