summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-10-24 00:09:08 +0000
committerAndrew Tridgell <tridge@samba.org>1996-10-24 00:09:08 +0000
commit08d00eb68ee93eaead0f3bbaabc3d89540e0818e (patch)
tree710ccb9b7720c18394876a415803b4a414df8b26 /source3/printing
parent99ad4508a086205a7801e88a2f74ad6fe839431f (diff)
downloadsamba-08d00eb68ee93eaead0f3bbaabc3d89540e0818e.tar.gz
samba-08d00eb68ee93eaead0f3bbaabc3d89540e0818e.tar.bz2
samba-08d00eb68ee93eaead0f3bbaabc3d89540e0818e.zip
- added support for TMPDIR env variable
- fixed fault.c for linux 2.1 - put back in the FIND_SELF failing code - cleaned up casts in encryption (This used to be commit 3af04f1580b2569c0a4f2549bf6352c7a25afa0d)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 87552ab3ff..f026d77156 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -945,7 +945,7 @@ int get_printqueue(int snum,int cnum,print_queue_struct **queue,
standard_sub(cnum,syscmd);
- sprintf(outfile,"/tmp/lpq.%08x",str_checksum(syscmd));
+ sprintf(outfile,"%s/lpq.%08x",tmpdir(),str_checksum(syscmd));
if (!lpq_cache_reset[snum] && cachetime && !stat(outfile,&sbuf))
{