Skip to content

Commit

Permalink
Update httpd.c
Browse files Browse the repository at this point in the history
fie problem caused by intptr_t
  • Loading branch information
EZLippi authored Apr 18, 2017
1 parent 7abf28e commit 7c55024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void unimplemented(int);
/**********************************************************************/
void accept_request(void *arg)
{
int client = (intptr_t)arg;
int client = *(int*)arg;
char buf[1024];
size_t numchars;
char method[255];
Expand Down

0 comments on commit 7c55024

Please sign in to comment.