(recv_loop): it should never happen, but make sure nbytes > 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16789 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -78,7 +78,7 @@ recv_loop (int fd,
|
|||||||
krb5_data_free (rep);
|
krb5_data_free (rep);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if(nbytes == 0)
|
if(nbytes <= 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (limit)
|
if (limit)
|
||||||
|
Reference in New Issue
Block a user