WHOEVER WROTE THAT IS A DANGEROUS PSYCHOPATH
This commit is contained in:
parent
158c766368
commit
8b8772f4f1
@ -58,9 +58,11 @@ int tcp_write(int fd, char *buf, int len)
|
||||
{
|
||||
register char *ptr;
|
||||
|
||||
/* \/ WHOEVER WROTE THAT IS A DANGEROUS PSYCHOPATH \/ */
|
||||
ptr = buf - sizeof(short);
|
||||
|
||||
*((unsigned short *)ptr) = htons(len);
|
||||
/* /\ WHOEVER WROTE THAT IS A DANGEROUS PSYCHOPATH /\ */
|
||||
len = (len & VTUN_FSIZE_MASK) + sizeof(short);
|
||||
|
||||
return write_n(fd, ptr, len);
|
||||
|
Loading…
Reference in New Issue
Block a user