diff options
author | Günther Deschner <gd@samba.org> | 2005-12-06 20:22:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:45 -0500 |
commit | 436b3dd88a703c4f79c638d76cb0219fc8870bda (patch) | |
tree | 9cb4662d72c7d63fb410c2ea70b143dc88fc6e9c /source3 | |
parent | 44293df2aeaeccb1e2cca18bb7d61534a5e07b1a (diff) | |
download | samba-436b3dd88a703c4f79c638d76cb0219fc8870bda.tar.gz samba-436b3dd88a703c4f79c638d76cb0219fc8870bda.tar.bz2 samba-436b3dd88a703c4f79c638d76cb0219fc8870bda.zip |
r12106: Fix return value
Guenther
(This used to be commit 1fa8039397175331d9f5e8b5e3897e9bba14484a)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 62dca0afe7..749885dbb4 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/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: |