summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/print_iprint.c2
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;