fix warning

httpload.c:40:17: warning: unused parameter ‘v’
This commit is contained in:
David du Colombier 2015-04-11 16:41:34 +02:00
parent 726fe05c13
commit 3ae1151187

View File

@ -42,6 +42,8 @@ fetchtask(void *v)
int fd, n; int fd, n;
char buf[512]; char buf[512];
(void)v;
fprintf(stderr, "starting...\n"); fprintf(stderr, "starting...\n");
for(;;){ for(;;){
if((fd = netdial(TCP, server, 80)) < 0){ if((fd = netdial(TCP, server, 80)) < 0){