projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
configure: provide a cli flag instead of forcing -Werror
[awesomized/libmemcached]
/
libtest
/
port.cc
diff --git
a/libtest/port.cc
b/libtest/port.cc
index 1d3f4e5f50d8cffdeab3d47ab2d4722f26686051..d8e8c12d566beca74fc96836a9f0635b67342b5a 100644
(file)
--- a/
libtest/port.cc
+++ b/
libtest/port.cc
@@
-204,22
+204,22
@@
in_port_t get_free_port()
// We handle the case where if we max out retries, we still abort.
if (retries == 0)
{
// We handle the case where if we max out retries, we still abort.
if (retries == 0)
{
-
fatal_message
("No port could be found, exhausted retry");
+
FATAL
("No port could be found, exhausted retry");
}
if (ret_port == 0)
{
}
if (ret_port == 0)
{
-
fatal_message
("No port could be found");
+
FATAL
("No port could be found");
}
if (ret_port == default_port)
{
}
if (ret_port == default_port)
{
-
fatal_message
("No port could be found");
+
FATAL
("No port could be found");
}
if (ret_port <= 1024)
{
}
if (ret_port <= 1024)
{
-
fatal_message
("No port could be found, though some where available below or at 1024");
+
FATAL
("No port could be found, though some where available below or at 1024");
}
all_socket_fd.last_port= ret_port;
}
all_socket_fd.last_port= ret_port;