Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
aaeaf331
Commit
aaeaf331
authored
Jun 23, 2016
by
Simon Morlat
Browse files
fix warning in dns.c, and allow c99
parent
6f6fa84e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
configure.ac
configure.ac
+1
-1
src/dns.c
src/dns.c
+1
-2
No files found.
configure.ac
View file @
aaeaf331
...
...
@@ -41,7 +41,7 @@ case $INSTALL in
INSTALL="$INSTALL -C"
;;
esac
dnl
AC_PROG_CC_C99
AC_PROG_CC_C99
LT_INIT(win32-dll)
case "$target" in
...
...
src/dns.c
View file @
aaeaf331
...
...
@@ -4125,8 +4125,7 @@ struct dns_hosts *dns_hosts_mortal(struct dns_hosts *hosts) {
return
hosts
;
}
/* dns_hosts_mortal() */
static
int
dns_hosts_add_localhost
(
struct
dns_hosts
*
hosts
)
{
int
dns_hosts_add_localhost
(
struct
dns_hosts
*
hosts
)
{
struct
dns_hosts_entry
ent
;
memset
(
&
ent
,
'\0'
,
sizeof
(
ent
));
ent
.
af
=
AF_INET
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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