diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 17:29:12 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 18:09:38 +0200 |
commit | 73a5c2d02d5f768a952a219b5c62231b0f9af75b (patch) | |
tree | 72b2a50c904eb442e5e7ba2925a025481dde3a49 | |
parent | 788498d2ff1b07cc94250395dd1da6bb63be2454 (diff) | |
download | samba-73a5c2d02d5f768a952a219b5c62231b0f9af75b.tar.gz samba-73a5c2d02d5f768a952a219b5c62231b0f9af75b.tar.bz2 samba-73a5c2d02d5f768a952a219b5c62231b0f9af75b.zip |
s3: Lift the server_messaging_context from construct_notify_jobs_info
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 11 |
1 files changed, 6 insertions, 5 deletions
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; j<count; j++) { - construct_notify_jobs_info(&queue[j], info, + construct_notify_jobs_info(p->msg_ctx, + &queue[j], info, pinfo2, snum, &option_type, queue[j].job, |