Correct two mistakes when converting asserts to PJDLOG_ASSERT()/PJDLOG_ABORT().

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2011-09-27 07:59:10 +00:00
parent 571fdd7e47
commit 09c2e8431a

View File

@ -1421,8 +1421,7 @@ remote_send_thread(void *arg)
length = 0;
break;
default:
PJDLOG_ASSERT(!"invalid condition");
abort();
PJDLOG_ABORT("invalid condition");
}
nv = nv_alloc();
nv_add_uint8(nv, cmd, "cmd");
@ -1621,8 +1620,7 @@ remote_recv_thread(void *arg)
case BIO_FLUSH:
break;
default:
PJDLOG_ASSERT(!"invalid condition");
abort();
PJDLOG_ABORT("invalid condition");
}
hio->hio_errors[ncomp] = 0;
nv_free(nv);