cupsDoRequest changes request->request.op.operation_id
Jardel Weyrich
w.jardel at gmail.com
Mon Apr 21 16:33:46 PDT 2008
Hi there.
I'm writing an application that uses IPP_GET_NOTIFICATIONS to get the events on a given subscription id.
The problem occurs here:
ipp_t *request = ippNewRequest(IPP_GET_NOTIFICATIONS);
...append the attributes...
printf("id = %d\n", request->request.op.operation_id);
ipp_t *response = cupsDoRequest(m_http, request, resource);
printf("id = %d\n", request->request.op.operation_id);
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.
Thank you in advance,
Jardel
More information about the cups-devel
mailing list