struct notif_event *head = np->queue.front ();
np->queue.pop_front ();
- if (remote_debug)
- debug_printf ("%s: acking %d\n", np->ack_name,
- (int) np->queue.size ());
+ remote_debug_printf ("%s: acking %d", np->ack_name,
+ (int) np->queue.size ());
delete head;
}
{
notif->queue.push_back (event);
- if (remote_debug)
- debug_printf ("pending events: %s %d\n", notif->notif_name,
- (int) notif->queue.size ());
+ remote_debug_printf ("pending events: %s %d", notif->notif_name,
+ (int) notif->queue.size ());
}