the start of the cached buffer.
This would only be observed when the client sent the cmdchar.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12611
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Aug 8 13:38:22 2000 Ezra Peisach <epeisach@mit.edu>
+
+ * krlogin.c (read_wrapper): Copy from the current point and not
+ the start of the cached buffer.
+
2000-07-21 Peter S Litwack <plitwack@mit.edu>
* krlogin.c (writer): Improved bandwith efficiency by reading
bol = (c == defltc.t_suspc);
#endif
-#else / * !POSIX_TERMIOS * /
+#else /* !POSIX_TERMIOS */
bol = c == defkill || c == deftc.t_eofc ||
c == deftc.t_intrc || c == defltc.t_suspc ||
c == '\r' || c == '\n';
#endif
}
- memcpy(buf,tbuf, return_length);
+ memcpy(buf, data_start, return_length);
data_start = data_start + return_length;
return return_length;
}