summaryrefslogtreecommitdiff
path: root/community/cherokee/cherokee-admin-socket-bind.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/cherokee/cherokee-admin-socket-bind.patch')
-rw-r--r--community/cherokee/cherokee-admin-socket-bind.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/community/cherokee/cherokee-admin-socket-bind.patch b/community/cherokee/cherokee-admin-socket-bind.patch
deleted file mode 100644
index 0b266a245..000000000
--- a/community/cherokee/cherokee-admin-socket-bind.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/cherokee/main_admin.c b/cherokee/main_admin.c
-index 861473f..e52b2d6 100644
---- a/cherokee/main_admin.c
-+++ b/cherokee/main_admin.c
-@@ -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;
-@@ -104,6 +104,7 @@ find_empty_port (int starting, int *port)
- }
- }
-
-+ cherokee_socket_close (&s);
- cherokee_socket_mrproper (&s);
- cherokee_buffer_mrproper (&bind_);
-