Changeset a2944f6


Ignore:
Timestamp:
Sep 11, 2010, 4:03:29 PM (14 years ago)
Author:
Kyle Brogle <broglek@…>
Branches:
master, debian, mac, no-cups
Children:
618236b, 86f0b5b, 7a98084
Parents:
d8d9c7a
git-author:
Kyle Brogle <broglek@…> (09/11/10 16:03:29)
git-committer:
Kyle Brogle <broglek@…> (09/11/10 16:03:29)
Message:

Fixed error in backend that was made evident from the last commit.

When a job has no exif data, gutenbach would not define the variable $title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/gutenbach

    rd8d9c7a ra2944f6  
    133133my ($tempdir);
    134134my ($newpath);
     135my ($title);
    135136
    136137open(STATUS, ">", "/var/run/gutenbach/status");
     
    142143  $status .= sprintf(" Filetype: %s.", $magic);
    143144  $status .= sprintf(" Filename: %s.", $arguments{"job-title"});
    144 
    145145  if (exists $fileinfo->{'Title'}) {
     146      $title = $fileinfo->{'Title'};
    146147    printf(ZEPHYR "\@b{%s}\n", $fileinfo->{'Title'}) if exists $fileinfo->{'Title'};
    147148    printf(STATUS "%s\n", $fileinfo->{'Title'}) if exists $fileinfo->{'Title'};
Note: See TracChangeset for help on using the changeset viewer.