Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
spr0cketeer
Icecast-common
Commits
ef2a81e8
Commit
ef2a81e8
authored
Aug 09, 2007
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor build update
svn path=/icecast/trunk/net/; revision=13501
parent
5c2887a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
net/sock.c
net/sock.c
+5
-2
No files found.
net/sock.c
View file @
ef2a81e8
...
...
@@ -60,7 +60,10 @@
/* for older C libraries */
#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0
# define AI_NUMERICSERV 0
#endif
#ifndef AI_ADDRCONFIG
# define AI_ADDRCONFIG 0
#endif
/* sock_initialize
...
...
@@ -659,7 +662,7 @@ sock_t sock_get_server_socket (int port, const char *sinterface)
if
(
bind
(
sock
,
ai
->
ai_addr
,
ai
->
ai_addrlen
)
<
0
)
{
close
(
sock
);
sock_
close
(
sock
);
continue
;
}
freeaddrinfo
(
res
);
...
...
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