number of bytes to read.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6966
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Oct 12 11:15:28 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * gss-misc.c (recv_token): When continuing partial read, decrease
+ number of bytes to read.
+
Sun Oct 8 14:26:25 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* gss-misc.c (recv_token): When looping for partial read from
}
while (readsofar < tok->length) {
- ret = read(s, (char *) tok->value + readsofar, tok->length);
+ ret = read(s, (char *) tok->value + readsofar,
+ tok->length - readsofar);
readsofar += ret;
if (ret < 0) {
perror("reading token data");