Changeset 35364 for trunk/PS-IPP-PStamp
- Timestamp:
- Apr 4, 2013, 1:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/RequestFile.pm
r34448 r35364 167 167 my $fields_output; 168 168 { 169 my $command = "echo $request_file_name | $fields -x 0 EXTNAME EXTVER REQ_NAME ACTION USERNAMEEMAIL";169 my $command = "echo $request_file_name | $fields -x 0 EXTNAME EXTVER REQ_NAME ACTION EMAIL"; 170 170 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 171 171 run(command => $command, verbose => $verbose); … … 187 187 if ($extver > 1) { 188 188 $header{ACTION} = $action; 189 $header{USER} = $username;190 189 $header{EMAIL} = $email; 191 190 } else { 192 191 $header{ACTION} = $action = "PROCESS"; 193 $header{USERNAME} = 'null';194 192 $header{EMAIL} = 'null'; 195 193 } 196 194 197 if ($action eq "LIST") { 198 return (\%header, undef); 199 } elsif ($action ne "PROCESS") { 200 die "unexpected request ACTION found: $action in $request_file_name"; 195 if ($action ne "PROCESS" and $action ne 'PREVIEW') { 196 die "\nunexpected request ACTION found: $action in $request_file_name"; 201 197 } 202 198
Note:
See TracChangeset
for help on using the changeset viewer.
