struct ExpressMessage *ptr, *holdptr;
if (CC->FirstExpressMessage == NULL) {
- cprintf("%d No express messages waiting.\n", ERROR);
+ cprintf("%d No express messages waiting.\n", ERROR + MESSAGE_NOT_FOUND);
return;
}
begin_critical_section(S_SESSION_TABLE);
struct ExpressMessage *ptr;
if (CC->FirstExpressMessage == NULL) {
- cprintf("%d No express messages waiting.\n", ERROR);
+ cprintf("%d No express messages waiting.\n", ERROR + MESSAGE_NOT_FOUND);
return;
}
extract(x_msg, argbuf, 1);
if (!x_user[0]) {
- cprintf("%d You were not previously paged.\n", ERROR);
+ cprintf("%d You were not previously paged.\n", ERROR + NO_SUCH_USER);
return;
}
if ((!strcasecmp(x_user, "broadcast")) && (CC->user.axlevel < 6)) {
if (message_sent == 0) {
cprintf("%d '%s' is not logged in "
"or is not accepting pages.\n",
- ERROR, x_user);
+ ERROR + NO_SUCH_USER, x_user);
return;
}
cprintf("%d Transmit message (will deliver to %d users)\n",
} else {
cprintf("%d '%s' is not logged in "
"or is not accepting pages.\n",
- ERROR, x_user);
+ ERROR + NO_SUCH_USER, x_user);
}