File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5609,6 +5609,7 @@ ipp_read_io(void *src, // I - Data source
56095609 // New attribute; read the name and add it...
56105610 if ((* cb )(src , buffer , (size_t )n ) < n )
56115611 {
5612+ _cupsSetError (IPP_STATUS_ERROR_INTERNAL , _ ("Unable to read IPP attribute name." ), 1 );
56125613 DEBUG_puts ("1ipp_read_io: unable to read name." );
56135614 goto rollback ;
56145615 }
@@ -5965,6 +5966,8 @@ ipp_read_io(void *src, // I - Data source
59655966 // attribute read in order to keep the IPP message valid...
59665967 rollback :
59675968
5969+ DEBUG_puts ("1ipp_read_io: <<rollback>>" );
5970+
59685971 _cupsBufferRelease ((char * )buffer );
59695972
59705973 if (attr )
Original file line number Diff line number Diff line change @@ -866,7 +866,7 @@ main(int argc, // I - Number of command-line arguments
866866
867867 if (request )
868868 {
869- printf ("\n%s:\n" , argv [i ]);
869+ printf ("\n%s: %s \n" , argv [i ], ippValidateAttributes ( request ) ? "OK" : cupsGetErrorString () );
870870 print_attributes (request , 4 );
871871 ippDelete (request );
872872 }
You can’t perform that action at this time.
0 commit comments