summaryrefslogtreecommitdiff
path: root/source3/printing/print_iprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/print_iprint.c')
-rw-r--r--source3/printing/print_iprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_iprint.c b/source3/printing/print_iprint.c
index 2f6e5b2667..75324960ef 100644
--- a/source3/printing/print_iprint.c
+++ b/source3/printing/print_iprint.c
@@ -785,9 +785,9 @@ static int iprint_job_submit(int snum, struct printjob *pjob)
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name",
NULL, pjob->user);
- clientname = client_name(get_client_fd());
+ clientname = client_name(smbd_server_fd());
if (strcmp(clientname, "UNKNOWN") == 0) {
- clientname = client_addr(get_client_fd(),addr,sizeof(addr));
+ clientname = client_addr(smbd_server_fd(),addr,sizeof(addr));
}
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME,