From b76d574b980461cbbf9130ef7945f262faa5d734 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 23 Jul 2012 13:32:34 -0700 Subject: [PATCH] Fix incorrect use of server as a talloc context. --- source3/printing/print_iprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/printing/print_iprint.c b/source3/printing/print_iprint.c index 7cb19997797..ad61a0a3380 100644 --- a/source3/printing/print_iprint.c +++ b/source3/printing/print_iprint.c @@ -95,7 +95,7 @@ static const char *iprint_server(void) { const char *server = lp_iprint_server(talloc_tos()); - if ((lp_iprint_server(server) != NULL) && (strlen(server) > 0)) { + if ((server != NULL) && (strlen(server) > 0)) { DEBUG(10, ("iprint server explicitly set to %s\n", server)); return server; -- 2.11.4.GIT