~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to prnt/hpcups/SystemServices.cpp

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-10-06 15:03:44 UTC
  • mfrom: (1.6.1) (20.1.16 quantal)
  • Revision ID: package-import@ubuntu.com-20121006150344-2p3xz26br0t3hu2q
Tags: 3.12.10-1
* New upstream release
  - Fixes "Network scanning fails (Closes: #683033)
* quilt refresh hplip-syslog-fix-debug-messages-to-error.dpatch
* Fix "error in clean build env" updated debian/rules (Closes: #687129)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    m_fp = NULL;
37
37
    if (iLogLevel & SAVE_PCL_FILE)
38
38
    {
39
 
        char    fname[32];
40
 
        sprintf(fname, "/tmp/hpcups_job%d.out", job_id);
 
39
        char    fname[64];
 
40
        sprintf(fname, "%s/hpcups_job%d.out", "/var/log/hp/tmp",job_id);
41
41
        m_fp = fopen(fname, "w");
42
42
        chmod(fname, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
43
43
    }