Browse Source

fixed sendfile

master
Felix von Leitner 21 years ago
parent
commit
a7e92f192f
  1. 3
      socket/socket_sendfile.c

3
socket/socket_sendfile.c

@ -15,7 +15,8 @@ _syscall4(int,sendfile,int,out,int,in,long *,offset,unsigned long,count)
#endif
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

Loading…
Cancel
Save