fixed sendfile
This commit is contained in:
parent
ff54589b32
commit
7895eb3b2a
@ -15,7 +15,8 @@ _syscall4(int,sendfile,int,out,int,in,long *,offset,unsigned long,count)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
int socket_sendfile(int out,int in,uint32 offset,uint32 bytes) {
|
int socket_sendfile(int out,int in,uint32 offset,uint32 bytes) {
|
||||||
return sendfile(out,in,&offset,bytes);
|
off_t tmp=offset;
|
||||||
|
return sendfile(out,in,&tmp,bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user