Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
9b0b0b39
Unverified
Commit
9b0b0b39
authored
Feb 27, 2019
by
Salvatore Sanfilippo
Committed by
GitHub
Feb 27, 2019
Browse files
Merge pull request #3649 from Alkorin/fixTypo
Fix typo (unsupproted => unsupported) in error message
parents
74fdfc37
a2868321
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
9b0b0b39
...
@@ -2611,7 +2611,7 @@ int listenToPort(int port, int *fds, int *count) {
...
@@ -2611,7 +2611,7 @@ int listenToPort(int port, int *fds, int *count) {
(
*
count
)
++
;
(
*
count
)
++
;
}
else
if
(
errno
==
EAFNOSUPPORT
)
{
}
else
if
(
errno
==
EAFNOSUPPORT
)
{
unsupported
++
;
unsupported
++
;
serverLog
(
LL_WARNING
,
"Not listening to IPv6: unsupp
r
oted"
);
serverLog
(
LL_WARNING
,
"Not listening to IPv6: unsuppo
r
ted"
);
}
}
if
(
*
count
==
1
||
unsupported
)
{
if
(
*
count
==
1
||
unsupported
)
{
...
@@ -2623,7 +2623,7 @@ int listenToPort(int port, int *fds, int *count) {
...
@@ -2623,7 +2623,7 @@ int listenToPort(int port, int *fds, int *count) {
(
*
count
)
++
;
(
*
count
)
++
;
}
else
if
(
errno
==
EAFNOSUPPORT
)
{
}
else
if
(
errno
==
EAFNOSUPPORT
)
{
unsupported
++
;
unsupported
++
;
serverLog
(
LL_WARNING
,
"Not listening to IPv4: unsupp
r
oted"
);
serverLog
(
LL_WARNING
,
"Not listening to IPv4: unsuppo
r
ted"
);
}
}
}
}
/* Exit the loop if we were able to bind * on IPv4 and IPv6,
/* Exit the loop if we were able to bind * on IPv4 and IPv6,
...
...
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