diff options
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printing.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index fd1649737b..9bae768c19 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -1535,8 +1535,9 @@ static void print_queue_update(int snum, BOOL force) /* finally send the message */ - message_send_pid(pid_to_procid(background_lpq_updater_pid), - MSG_PRINTER_UPDATE, buffer, len, False); + messaging_send_buf(smbd_messaging_context(), + pid_to_procid(background_lpq_updater_pid), + MSG_PRINTER_UPDATE, (uint8 *)buffer, len); SAFE_FREE( buffer ); |