I think rwatson got the sign wrong here...

This commit is contained in:
Poul-Henning Kamp 2003-10-18 12:16:17 +00:00
parent 6e9a011a6a
commit cc81271eaa

View File

@ -539,7 +539,7 @@ cncheckc(void)
STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) {
cn = cnd->cnd_cn;
#ifdef DDB
if (!db_active || (cn->cn_flags & CN_FLAG_NODEBUG)) {
if (!db_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) {
#endif
c = cn->cn_checkc(cn);
if (c != -1) {
@ -564,7 +564,7 @@ cnputc(int c)
STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) {
cn = cnd->cnd_cn;
#ifdef DDB
if (!db_active || (cn->cn_flags & CN_FLAG_NODEBUG)) {
if (!db_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) {
#endif
if (c == '\n')
cn->cn_putc(cn, '\r');