From 1fa8039397175331d9f5e8b5e3897e9bba14484a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Tue, 6 Dec 2005 20:22:51 +0000 Subject: [PATCH] r12106: Fix return value Guenther --- source/rpc_client/cli_spoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rpc_client/cli_spoolss.c b/source/rpc_client/cli_spoolss.c index 62dca0afe78..749885dbb4f 100644 --- a/source/rpc_client/cli_spoolss.c +++ b/source/rpc_client/cli_spoolss.c @@ -517,7 +517,7 @@ WERROR rpccli_spoolss_enum_printers(struct rpc_pipe_client *cli, TALLOC_CTX *mem break; case 3: if (!decode_printer_info_3(mem_ctx, out.buffer, out.returned, &ctr->printers_3)) { - WERR_GENERAL_FAILURE; + return WERR_GENERAL_FAILURE; } break; default: