cprintf("Message ");
cprintf("from %s:\n", ptr->sender);
if (ptr->text != NULL)
- memfmout(ptr->text, 0, "\n");
+ memfmout(ptr->text, "\n");
holdptr = ptr->next;
if (ptr->text != NULL) free(ptr->text);
);
if (ptr->text != NULL) {
- memfmout(ptr->text, 0, "\n");
+ memfmout(ptr->text, "\n");
if (ptr->text[strlen(ptr->text)-1] != '\n') cprintf("\n");
free(ptr->text);
}
/* If the target context is a session which can handle asynchronous
* messages, go ahead and set the flag for that.
*/
- if (ccptr->is_async) {
- ccptr->async_waiting = 1;
- if (ccptr->state == CON_IDLE) {
- ccptr->state = CON_READY;
- }
- }
+ set_async_waiting(ccptr);
}