projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Spec fixes.
[m6w6/libmemcached]
/
libtest
/
port.cc
diff --git
a/libtest/port.cc
b/libtest/port.cc
index b6820335f1c3d610874da501710c67c219fe5006..fefb6a6d394ada0c72b0c480b61b7b38c140a406 100644
(file)
--- a/
libtest/port.cc
+++ b/
libtest/port.cc
@@
-19,6
+19,7
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <config.h>
#include <libtest/common.h>
#include <cassert>
#include <libtest/common.h>
#include <cassert>
@@
-116,7
+117,7
@@
in_port_t get_free_port()
// We handle the case where if we max out retries, we still abort.
if (ret_port <= 1024)
{
// We handle the case where if we max out retries, we still abort.
if (ret_port <= 1024)
{
-
throw
fatal_message("No port could be found");
+ fatal_message("No port could be found");
}
return ret_port;
}
return ret_port;