summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-02-16 19:21:18 +0000
committerJeremy Allison <jra@samba.org>2001-02-16 19:21:18 +0000
commitfd46817f0b20c633c80dee70a29cf7478e2dfd68 (patch)
treec7bc095fe35ac78b061d36ae04851ff04b006275 /source3/printing
parent62dc55a43295e9e3abd9da13148b322b3aa89917 (diff)
downloadsamba-fd46817f0b20c633c80dee70a29cf7478e2dfd68.tar.gz
samba-fd46817f0b20c633c80dee70a29cf7478e2dfd68.tar.bz2
samba-fd46817f0b20c633c80dee70a29cf7478e2dfd68.zip
Excise snprintf -> slprintf.
srv_samr.c: duplicate gid fix. srv_spoolss_nt.c: Merge of JF's work. uid.c: Fix for returning names when a PDC. Jeremy. (This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/print_cups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 1e45df0c63..8739ddcec4 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -171,7 +171,7 @@ int cups_printername_ok(char *name)
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE,
"attributes-natural-language", NULL, language->language);
- snprintf(uri, sizeof(uri), "ipp://localhost/printers/%s", dos_to_unix(name,False));
+ slprintf(uri, sizeof(uri)-1, "ipp://localhost/printers/%s", dos_to_unix(name,False));
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI,
"printer-uri", NULL, uri);