diff options
author | Jeremy Allison <jra@samba.org> | 2012-07-23 13:32:34 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-07-24 00:09:46 +0200 |
commit | b76d574b980461cbbf9130ef7945f262faa5d734 (patch) | |
tree | c3821dcf864d51636f7c469065bbfed713ff3d44 /source3/printing | |
parent | 61cec270c269c3a9025bf5303247ec6a1b416284 (diff) | |
download | samba-b76d574b980461cbbf9130ef7945f262faa5d734.tar.gz samba-b76d574b980461cbbf9130ef7945f262faa5d734.tar.bz2 samba-b76d574b980461cbbf9130ef7945f262faa5d734.zip |
Fix incorrect use of server as a talloc context.
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/print_iprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_iprint.c b/source3/printing/print_iprint.c index 7cb1999779..ad61a0a338 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; |