mp:mailbox-empty-p returned the opposite value.

This commit is contained in:
Juan Jose Garcia Ripoll 2012-04-07 01:07:02 +02:00
parent ad49125681
commit 748eb30ebe

View file

@ -87,7 +87,7 @@ mp_mailbox_empty_p(cl_object mailbox)
unlikely_if (type_of(mailbox) != t_mailbox) {
FEerror_not_a_mailbox(mailbox);
}
ecl_return1(env, mailbox->mailbox.reader_semaphore->semaphore.counter? Ct : Cnil);
ecl_return1(env, mailbox->mailbox.reader_semaphore->semaphore.counter? Cnil : Ct);
}
cl_object