diff options
author | Ted Lemon <source@isc.org> | 2000-05-17 16:04:26 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-05-17 16:04:26 +0000 |
commit | 165bce70b2e0ad650d07058744d187eba62ec999 (patch) | |
tree | b278aec7344d61ccb08ea26c3f679aa05fb665a3 /omapip/connection.c | |
parent | 1dad22d82adee8809837682b0a7c6dc92f444fe3 (diff) | |
download | isc-dhcp-165bce70b2e0ad650d07058744d187eba62ec999.tar.gz |
Fix up various platform-specific errors.
Diffstat (limited to 'omapip/connection.c')
-rw-r--r-- | omapip/connection.c | 2 |
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; } |