diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-04 15:09:07 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-07 16:19:14 -0800 |
commit | cf6f3585634b2ad65917056eb739ed59e506e823 (patch) | |
tree | ea6419b977268c8abf674515401cd106cf20a44c /source3/printing/printing.c | |
parent | db52b908c7aed5ae8cd2463010a3e2940c6ee4e9 (diff) | |
download | samba-cf6f3585634b2ad65917056eb739ed59e506e823.tar.gz |
param: rename lp function and variable from "max_reported_jobs" to "max_reported_print_jobs"
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r-- | source3/printing/printing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 48eb450d797..5ee711dd26f 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -1203,7 +1203,7 @@ static int printjob_comp(print_queue_struct *j1, print_queue_struct *j2) static void store_queue_struct(struct tdb_print_db *pdb, struct traverse_struct *pts) { TDB_DATA data; - int max_reported_jobs = lp_max_reported_jobs(pts->snum); + int max_reported_jobs = lp_max_reported_print_jobs(pts->snum); print_queue_struct *queue = pts->queue; size_t len; size_t i; @@ -3036,7 +3036,7 @@ static bool get_stored_queue_info(struct messaging_context *msg_ctx, int total_count = 0; size_t len = 0; uint32 i; - int max_reported_jobs = lp_max_reported_jobs(snum); + int max_reported_jobs = lp_max_reported_print_jobs(snum); bool ret = false; const char* sharename = lp_servicename(talloc_tos(), snum); TALLOC_CTX *tmp_ctx = talloc_new(msg_ctx); |