I think rwatson got the sign wrong here...
This commit is contained in:
parent
6e9a011a6a
commit
cc81271eaa
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user