Permalink
Browse files

Finding an empty port for cherokee-admin's server.py, the socket left…

… open

and server.py was not be able to bind to that port.

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6880 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent a00cd06 commit b142952de56a7a9f7d576e9c8529df55a1443923 @skarcha skarcha committed Oct 3, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 cherokee/main_admin.c
View
1 cherokee/main_admin.c
@@ -104,6 +104,7 @@ find_empty_port (int starting, int *port)
}
}
+ cherokee_socket_close (&s);
cherokee_socket_mrproper (&s);
cherokee_buffer_mrproper (&bind_);

0 comments on commit b142952

Please sign in to comment.