mirror of
https://github.com/0intro/libtask
synced 2024-11-21 21:31:30 +03:00
fix warning
httpload.c:40:17: warning: unused parameter ‘v’
This commit is contained in:
parent
726fe05c13
commit
3ae1151187
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user