summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-16 01:40:38 +0000
committerGerald Carter <jerry@samba.org>2003-08-16 01:40:38 +0000
commitbd886acab805703cfb010b2658c1bb10602ee846 (patch)
tree2d234d2995a99b821500eeed5caa7f530e0a5873
parent2ffcb5f2e2d065d3d28f41b174d00f85f049f366 (diff)
downloadsamba-bd886acab805703cfb010b2658c1bb10602ee846.tar.gz
samba-bd886acab805703cfb010b2658c1bb10602ee846.tar.bz2
samba-bd886acab805703cfb010b2658c1bb10602ee846.zip
stupid...stupid...stupid....fix bug 294 by looking at the right arch string
(This used to be commit 584df6b8d691b30d6ead485cfc8dce7bb30cd8bb)
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 9ac5d2b744..60a6ecba4b 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1764,7 +1764,7 @@ static WERROR get_a_printer_driver_3(NT_PRINTER_DRIVER_INFO_LEVEL_3 **info_ptr,
/* Windows 4.0 (i.e. win9x) should always use a version of 0 */
- if ( strcmp( arch, SPL_ARCH_WIN40 ) == 0 )
+ if ( strcmp( architecture, SPL_ARCH_WIN40 ) == 0 )
version = 0;
DEBUG(8,("get_a_printer_driver_3: [%s%s/%d/%s]\n", DRIVERS_PREFIX, architecture, version, drivername));