summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2002-03-17 22:40:51 +0000
committerJohn Terpstra <jht@samba.org>2002-03-17 22:40:51 +0000
commit0b7f9e7a7cafdf5309a979bffabfb7ee11d734bc (patch)
tree85802d1d4790388bc1fef333880934f56b6cbfa5
parenta4cce223d6873400b053872a6e3b2eb8621eea45 (diff)
downloadsamba-0b7f9e7a7cafdf5309a979bffabfb7ee11d734bc.tar.gz
samba-0b7f9e7a7cafdf5309a979bffabfb7ee11d734bc.tar.bz2
samba-0b7f9e7a7cafdf5309a979bffabfb7ee11d734bc.zip
Fix ability to compile with CUPS support.
(This used to be commit 208c62c5a7bca68f223b5832d7971c3d38cb6820)
-rw-r--r--source3/printing/print_cups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 3ab08de13d..b5315e10b2 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -905,8 +905,8 @@ cups_queue_get(int snum, print_queue_struct **q, print_status_struct *status)
LPQ_PRINTING;
temp->priority = job_priority;
temp->time = job_time;
- strncpy(temp->user, user_name, sizeof(temp->user) - 1);
- strncpy(temp->file, job_name, sizeof(temp->file) - 1);
+ strncpy(temp->fs_user, user_name, sizeof(temp->fs_user) - 1);
+ strncpy(temp->fs_file, job_name, sizeof(temp->fs_file) - 1);
qcount ++;