mod_tile: Fix compile warning

This commit is contained in:
Jon Burgess
2008-03-12 23:06:05 +00:00
parent 7a3dd45372
commit 315a91c8c0

View File

@ -102,8 +102,10 @@ int socket_init(request_rec *r)
static pthread_key_t key;
static pthread_once_t key_once = PTHREAD_ONCE_INIT;
static void pfd_free(int *pfd)
static void pfd_free(void *ptr)
{
int *pfd = ptr;
if (*pfd != FD_INVALID)
close(*pfd);
free(pfd);