Add update from 0.9.8-stable branch.
This commit is contained in:
parent
a26c372cfc
commit
99bf516908
1 changed files with 0 additions and 4 deletions
|
@ -150,11 +150,7 @@ int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched,
|
||||||
/* first - get the length */
|
/* first - get the length */
|
||||||
while (net_num < HDRSIZE)
|
while (net_num < HDRSIZE)
|
||||||
{
|
{
|
||||||
#ifndef _WIN32
|
|
||||||
i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
|
i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
|
||||||
#else
|
|
||||||
i=_read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
|
|
||||||
#endif
|
|
||||||
#ifdef EINTR
|
#ifdef EINTR
|
||||||
if ((i == -1) && (errno == EINTR)) continue;
|
if ((i == -1) && (errno == EINTR)) continue;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue