Permalink
Browse files

Part of the patch in r6880

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6881 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent b142952 commit d5dc944a008ddc791727b90758bc631ced7df55c @skarcha skarcha committed Oct 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cherokee/main_admin.c
View
@@ -89,9 +89,9 @@ find_empty_port (int starting, int *port)
cherokee_buffer_add_str (&bind_, "127.0.0.1");
cherokee_socket_init (&s);
- cherokee_socket_create_fd (&s, AF_INET);
while (true) {
+ cherokee_socket_create_fd (&s, AF_INET);
ret = cherokee_socket_bind (&s, p, &bind_);
if (ret == ret_ok)
break;

0 comments on commit d5dc944

Please sign in to comment.