From 73a5c2d02d5f768a952a219b5c62231b0f9af75b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Aug 2010 17:29:12 +0200 Subject: s3: Lift the server_messaging_context from construct_notify_jobs_info --- source3/rpc_server/srv_spoolss_nt.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index fb68fd26b7..94c3249f77 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -3158,7 +3158,8 @@ static bool construct_notify_printer_info(struct messaging_context *msg_ctx, * ********************************************************************/ -static bool construct_notify_jobs_info(print_queue_struct *queue, +static bool construct_notify_jobs_info(struct messaging_context *msg_ctx, + print_queue_struct *queue, struct spoolss_NotifyInfo *info, struct spoolss_PrinterInfo2 *pinfo2, int snum, @@ -3196,9 +3197,8 @@ static bool construct_notify_jobs_info(print_queue_struct *queue, current_data=&(info->notifies[info->count]); construct_info_data(current_data, type, field, id); - notify_info_data_table[j].fn(server_messaging_context(), - snum, current_data, queue, - pinfo2, mem_ctx); + notify_info_data_table[j].fn(msg_ctx, snum, current_data, + queue, pinfo2, mem_ctx); info->count++; } @@ -3393,7 +3393,8 @@ static WERROR printer_notify_info(struct pipes_struct *p, &status); for (j=0; jmsg_ctx, + &queue[j], info, pinfo2, snum, &option_type, queue[j].job, -- cgit