(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:
Love Hörnquist Åstrand
2006-03-07 19:39:59 +00:00
parent ac1c623242
commit e1bd6f1007

View File

@@ -78,7 +78,7 @@ recv_loop (int fd,
krb5_data_free (rep);
return -1;
}
if(nbytes == 0)
if(nbytes <= 0)
return 0;
if (limit)