Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
c9db92fd
Commit
c9db92fd
authored
Sep 07, 2002
by
Per Cederqvist
Browse files
Check for INADDR_NONE.
parent
f001114a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/ChangeLog
View file @
c9db92fd
...
...
@@ -3,6 +3,7 @@
Use
INADDR_NONE
to
get
rid
of
a
compiler
warning
.
*
src
/
isc_udp
.
c
(
isc_mkudpaddress
):
Use
INADDR_NONE
instead
of
-
1.
*
src
/
isc_tcp
.
c
(
isc_mktcpaddress
):
Use
INADDR_NONE
instead
of
-
1.
*
configure
.
in
:
Check
for
INADDR_NONE
.
2002
-
08
-
23
Per
Cederqvist
<
ceder
@
ceder
.
dyndns
.
org
>
...
...
src/libraries/libisc-new/configure.in
View file @
c9db92fd
...
...
@@ -19,7 +19,7 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.
9
$)dnl
AC_REVISION($Revision: 1.
10
$)dnl
AC_PREREQ(2.53)
AC_INIT(isc, 1.01)
AC_CONFIG_SRCDIR([src/isc_master.c])
...
...
@@ -68,6 +68,9 @@ AM_PROG_CC_STDC
AC_HEADER_TIME
AC_C_CONST
AC_TYPE_SIZE_T
AC_CHECK_DECL([INADDR_NONE],,
AC_DEFINE([INADDR_NONE],[(-1)], [Error indicator for inet_addr]),
[#include <netinet/in.h>])
CMOD_C_ATTRIBUTE_UNUSED
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment