summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-03 15:19:22 -0800
committerJeremy Allison <jra@samba.org>2007-12-03 15:19:22 -0800
commitb9342eaaa6bf61f559e4173d7ea58acc1a0a9705 (patch)
tree3c9aa7af80a3112eb22ab1bde3085155da29651a /source3/printing
parentbcf033b38ee2f6c76cd56cae5cd84a6e321ffafa (diff)
downloadsamba-b9342eaaa6bf61f559e4173d7ea58acc1a0a9705.tar.gz
samba-b9342eaaa6bf61f559e4173d7ea58acc1a0a9705.tar.bz2
samba-b9342eaaa6bf61f559e4173d7ea58acc1a0a9705.zip
Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.c
Jeremy. (This used to be commit e72bce5b62fb0a9d0ff4a3d76490219994f303cf)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index afa4bc2fd5..55dd63be78 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -3956,7 +3956,7 @@ static WERROR get_a_printer_2_default(NT_PRINTER_INFO_LEVEL_2 *info, const char
DEBUG(10,("get_a_printer_2_default: driver name set to [%s]\n", info->drivername));
- pstrcpy(info->comment, "");
+ strlcpy(info->comment, "", sizeof(info->comment));
fstrcpy(info->printprocessor, "winprint");
fstrcpy(info->datatype, "RAW");