summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-06-15 12:46:55 +0200
committerGünther Deschner <gd@samba.org>2011-06-30 09:40:50 +0200
commita36ce0735ff6cad8124bd63a056a71d9495b238c (patch)
tree60190c8c30644b8904493a96078032b60b41dae7
parent44a434a3019de2f9e807ba819b9cb6b47b4815df (diff)
downloadsamba-a36ce0735ff6cad8124bd63a056a71d9495b238c.tar.gz
samba-a36ce0735ff6cad8124bd63a056a71d9495b238c.tar.bz2
samba-a36ce0735ff6cad8124bd63a056a71d9495b238c.zip
s3-printing: fill devicemode size in migrate_printer()
Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source3/printing/nt_printing_migrate.c1
-rw-r--r--source3/utils/net_printing.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c
index ec66dfe816..0cc151918a 100644
--- a/source3/printing/nt_printing_migrate.c
+++ b/source3/printing/nt_printing_migrate.c
@@ -318,6 +318,7 @@ static NTSTATUS migrate_printer(TALLOC_CTX *mem_ctx,
dm.pelsheight = r.devmode->pelsheight;
dm.pelswidth = r.devmode->pelswidth;
dm.printquality = r.devmode->printquality;
+ dm.size = r.devmode->size;
dm.scale = r.devmode->scale;
dm.specversion = r.devmode->specversion;
dm.ttoption = r.devmode->ttoption;
diff --git a/source3/utils/net_printing.c b/source3/utils/net_printing.c
index 2f8caad8fd..6e82c55afe 100644
--- a/source3/utils/net_printing.c
+++ b/source3/utils/net_printing.c
@@ -466,6 +466,7 @@ static NTSTATUS migrate_printer(TALLOC_CTX *mem_ctx,
dm.pelsheight = r.devmode->pelsheight;
dm.pelswidth = r.devmode->pelswidth;
dm.printquality = r.devmode->printquality;
+ dm.size = r.devmode->size;
dm.scale = r.devmode->scale;
dm.specversion = r.devmode->specversion;
dm.ttoption = r.devmode->ttoption;