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 | |
| parent | db52b908c7aed5ae8cd2463010a3e2940c6ee4e9 (diff) | |
| download | samba-cf6f3585634b2ad65917056eb739ed59e506e823.tar.gz samba-cf6f3585634b2ad65917056eb739ed59e506e823.tar.xz samba-cf6f3585634b2ad65917056eb739ed59e506e823.zip | |
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')
| -rw-r--r-- | source3/param/loadparm.c | 2 | ||||
| -rw-r--r-- | source3/printing/printing.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 2c66770d80..6833718fdd 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -188,7 +188,7 @@ static struct loadparm_service sDefault = .dfree_command = NULL, .minprintspace = 0, .iMaxPrintJobs = 1000, - .max_reported_jobs = 0, + .max_reported_print_jobs = 0, .write_cache_size = 0, .create_mask = 0744, .force_create_mode = 0, diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 48eb450d79..5ee711dd26 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); |
