Skip to content

Commit

Permalink
Add log when canceling queued messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed May 19, 2024
1 parent 3484576 commit 1b18048
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/speaking.c
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ GList *queue_remove_message(GList * queue, GList * gl)
assert(gl != NULL);
assert(gl->data != NULL);
msg = (TSpeechDMessage *) gl->data;
MSG(5, "Removing message |%s| with priority %d from queue", msg->buf, msg->settings.priority);
if (msg->settings.notification & SPD_CANCEL)
report_cancel(msg);
mem_free_message(gl->data);
Expand Down

0 comments on commit 1b18048

Please sign in to comment.