=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/nchan.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/ssh/nchan.c 1999/11/24 20:21:48 1.8 +++ src/usr.bin/ssh/nchan.c 1999/12/02 20:10:05 1.9 @@ -28,7 +28,7 @@ */ #include "includes.h" -RCSID("$Id: nchan.c,v 1.8 1999/11/24 20:21:48 markus Exp $"); +RCSID("$Id: nchan.c,v 1.9 1999/12/02 20:10:05 markus Exp $"); #include "ssh.h" @@ -65,7 +65,7 @@ chan_delele_if_full_closed(c); break; default: - debug("protocol error: chan_rcvd_oclose %d for istate %d", c->self, c->istate); + error("protocol error: chan_rcvd_oclose %d for istate %d", c->self, c->istate); break; } } @@ -79,7 +79,7 @@ c->istate = CHAN_INPUT_WAIT_DRAIN; break; default: - debug("internal error: we do not read, but chan_read_failed %d for istate %d", + error("internal error: we do not read, but chan_read_failed %d for istate %d", c->self, c->istate); break; } @@ -88,7 +88,7 @@ chan_ibuf_empty(Channel *c) { if (buffer_len(&c->input)) { - debug("internal error: chan_ibuf_empty %d for non empty buffer", c->self); + error("internal error: chan_ibuf_empty %d for non empty buffer", c->self); return; } switch (c->istate) { @@ -98,7 +98,7 @@ c->istate = CHAN_INPUT_WAIT_OCLOSE; break; default: - debug("internal error: chan_ibuf_empty %d for istate %d", c->self, c->istate); + error("internal error: chan_ibuf_empty %d for istate %d", c->self, c->istate); break; } } @@ -118,7 +118,7 @@ chan_delele_if_full_closed(c); break; default: - debug("protocol error: chan_rcvd_ieof %d for ostate %d", c->self, c->ostate); + error("protocol error: chan_rcvd_ieof %d for ostate %d", c->self, c->ostate); break; } } @@ -138,7 +138,7 @@ chan_delele_if_full_closed(c); break; default: - debug("internal error: chan_write_failed %d for ostate %d", c->self, c->ostate); + error("internal error: chan_write_failed %d for ostate %d", c->self, c->ostate); break; } } @@ -157,7 +157,7 @@ chan_delele_if_full_closed(c); break; default: - debug("internal error: chan_obuf_empty %d for ostate %d", c->self, c->ostate); + error("internal error: chan_obuf_empty %d for ostate %d", c->self, c->ostate); break; } } @@ -176,7 +176,7 @@ packet_send(); break; default: - debug("internal error: channel %d: cannot send IEOF for istate %d", c->self, c->istate); + error("internal error: channel %d: cannot send IEOF for istate %d", c->self, c->istate); break; } } @@ -193,7 +193,7 @@ packet_send(); break; default: - debug("internal error: channel %d: cannot send OCLOSE for ostate %d", c->self, c->istate); + error("internal error: channel %d: cannot send OCLOSE for ostate %d", c->self, c->istate); break; } }