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
a2868321
Commit
a2868321
authored
Nov 30, 2016
by
Thomas SOËTE
Browse files
Fix typo (unsupproted => unsupported) in error message
parent
3c4fe59e
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server.c
View file @
a2868321
...
...
@@ -1658,7 +1658,7 @@ int listenToPort(int port, int *fds, int *count) {
(
*
count
)
++
;
}
else
if
(
errno
==
EAFNOSUPPORT
)
{
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
)
{
...
...
@@ -1670,7 +1670,7 @@ int listenToPort(int port, int *fds, int *count) {
(
*
count
)
++
;
}
else
if
(
errno
==
EAFNOSUPPORT
)
{
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,
...
...
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