stupid...stupid...stupid....fix bug 294 by looking at the right arch string
authorGerald Carter <jerry@samba.org>
Sat, 16 Aug 2003 01:40:38 +0000 (01:40 +0000)
committerGerald Carter <jerry@samba.org>
Sat, 16 Aug 2003 01:40:38 +0000 (01:40 +0000)
(This used to be commit 584df6b8d691b30d6ead485cfc8dce7bb30cd8bb)

source3/printing/nt_printing.c

index 9ac5d2b7449cc5f0715b9d23e09ad66a3d039f7e..60a6ecba4b597b31b5742c1c43ba7dc124f19369 100644 (file)
@@ -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));