diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-03 18:41:26 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-03 18:41:26 -0700 |
commit | 25074433f412c4dd2531fd268d51be8753ddc11b (patch) | |
tree | 2c18dde9c017a675f2ea75e76ae773bb9057ded5 /source3/printing | |
parent | 6658165d5e9cd186fea74e1581091233e8990e9b (diff) | |
download | samba-25074433f412c4dd2531fd268d51be8753ddc11b.tar.gz samba-25074433f412c4dd2531fd268d51be8753ddc11b.tar.bz2 samba-25074433f412c4dd2531fd268d51be8753ddc11b.zip |
I can't get away without a 'length' arg. :-).
Jeremy.
(This used to be commit 95d01279a5def709d0a5d5ae7224d6286006d120)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/print_cups.c | 2 | ||||
-rw-r--r-- | source3/printing/print_iprint.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index ff4c7ebc5f..5709d93624 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -620,7 +620,7 @@ static int cups_job_submit(int snum, struct printjob *pjob) clientname = client_name(); if (strcmp(clientname, "UNKNOWN") == 0) { - clientname = client_addr(addr); + clientname = client_addr(addr,sizeof(addr)); } ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, diff --git a/source3/printing/print_iprint.c b/source3/printing/print_iprint.c index 8ee681b3be..6dd19577f1 100644 --- a/source3/printing/print_iprint.c +++ b/source3/printing/print_iprint.c @@ -781,7 +781,7 @@ static int iprint_job_submit(int snum, struct printjob *pjob) clientname = client_name(); if (strcmp(clientname, "UNKNOWN") == 0) { - clientname = client_addr(addr); + clientname = client_addr(addr,sizeof(addr)); } ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, |