s3: Lift the server_messaging_context from notify_job_total_pages
[abartlet/samba.git/.git] / source3 / printing / printing.c
index b35c868469bfefb2e14e7d620943cb44cb729044..d84fc7699b73857b960d3c09fe08d56d5a60f92d 100644 (file)
@@ -601,7 +601,9 @@ static void pjob_store_notify(const char* sharename, uint32 jobid, struct printj
                                       sharename, jobid, new_data->size);
 
        if (new_job || old_data->page_count != new_data->page_count)
-               notify_job_total_pages(sharename, jobid, new_data->page_count);
+               notify_job_total_pages(server_event_context(),
+                                      server_messaging_context(),
+                                      sharename, jobid, new_data->page_count);
 }
 
 /****************************************************************************