s3-spoolss: use SPOOLSS_ARCHITECTURE_ALL in driver enum server code.
[ira/wip.git] / source3 / rpc_server / srv_spoolss_nt.c
index 9abed16ed98401e6ed2418cf11d419bb7ca8d512..1e66c7c021cb051768bd2ab06e2ea372ef22c290 100644 (file)
@@ -6461,7 +6461,7 @@ static WERROR enumprinterdrivers_level(TALLOC_CTX *mem_ctx,
        uint32_t a,i;
        WERROR result = WERR_OK;
 
-       if (strequal(architecture, "all")) {
+       if (strequal(architecture, SPOOLSS_ARCHITECTURE_ALL)) {
 
                for (a=0; archi_table[a].long_archi != NULL; a++) {