diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-04-20 23:58:26 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-04-20 23:58:26 +0200 |
commit | 4c32978d973093903a5372a6f358275184bbcab2 (patch) | |
tree | b7f0331f4909d125215c1ffe042cdec4d0e63172 /source3/printing | |
parent | 6fc40ce0d3b1bdfe9a138db4953896f47094424e (diff) | |
download | samba-4c32978d973093903a5372a6f358275184bbcab2.tar.gz |
Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() if
the system one is broken.
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 8524cfb2bd8..a661d3dbdc9 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -2476,7 +2476,7 @@ uint32 print_job_start(struct auth_serversupplied_info *server_info, int snum, /* we have a job entry - now create the spool file */ slprintf(pjob.filename, sizeof(pjob.filename)-1, "%s/%s%.8u.XXXXXX", path, PRINT_SPOOL_PREFIX, (unsigned int)jobid); - pjob.fd = smb_mkstemp(pjob.filename); + pjob.fd = mkstemp(pjob.filename); if (pjob.fd == -1) { if (errno == EACCES) { |