diff options
Diffstat (limited to 'source3/printing/print_iprint.c')
-rw-r--r-- | source3/printing/print_iprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_iprint.c b/source3/printing/print_iprint.c index f2b27460be..82095925b8 100644 --- a/source3/printing/print_iprint.c +++ b/source3/printing/print_iprint.c @@ -726,7 +726,7 @@ static int iprint_job_submit(int snum, struct printjob *pjob) ipp_attribute_t *attr; /* Current attribute */ cups_lang_t *language = NULL; /* Default language */ char uri[HTTP_MAX_URI]; /* printer-uri attribute */ - char *clientname = NULL; /* hostname of client for job-originating-host attribute */ + const char *clientname = NULL; /* hostname of client for job-originating-host attribute */ DEBUG(5,("iprint_job_submit(%d, %p (%d))\n", snum, pjob, pjob->sysjob)); @@ -782,7 +782,7 @@ static int iprint_job_submit(int snum, struct printjob *pjob) if (strcmp(clientname, "UNKNOWN") == 0) { clientname = client_addr(); } - + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-originating-host-name", NULL, clientname); |