[cups.bugs] cupsDoRequest changes request->request.op.operation_id

Michael R Sweet msweet at apple.com
Tue Apr 22 10:03:37 PDT 2008


Jardel Weyrich wrote:
> ...
> The output is:
> id = 28
> id = 3
> 
> For some reason, the cupsDoRequest() is internally changing the operation_id. Maybe,
> I suppose it's an error, isn't it? Please, explain me.

As documented in the API reference, cupsDoRequest() frees the
request you supply with ippDelete() - the request can no longer be
access after you call cupsDoRequest!

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list