Correct the signatures of created thread functions

This commit is contained in:
Fish (David B. Trout)
2013-05-26 09:19:08 -07:00
parent f3b0eca4fe
commit 01bcccca8f
9 changed files with 43 additions and 18 deletions

View File

@@ -478,7 +478,7 @@ static void http_download(WEBBLK *webblk, char *filename)
}
static void *http_request(int sock)
static void *http_request(void* arg)
{
WEBBLK *webblk;
int authok = !http_serv.httpauth;
@@ -488,6 +488,7 @@ static void *http_request(int sock)
char *strtok_str = NULL;
CGITAB *cgient;
int content_length = 0;
int sock = (int) arg;
if(!(webblk = malloc(sizeof(WEBBLK))))
http_exit(webblk);