[HIGH] STR #4211: ippFindAttribute cannot retrieve the attribute added using ippAddInteger on client-server setup
Sonam Gupta <[email protected]> Sun, 14 Oct 2012 23:20:49 -0700 (PDT)
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Hi, I am using CUPS-1.4.5 on Solaris 11. I have a client server setup. I wanted to added an integer attribute at the client end and retrieve the same info at the server end. I added the integer using ippAddInteger() in function cupsCreateJob() in 'cups/util.c'. To retrieve the same attribute at the server end I called ippFindAttribute() from function add_job() in 'scheduler/ipp.c'. But when the code is executed the attribute added using ippAddInteger at the client end cannot be retrieved by the scheduler at the server end. But if ippAddString() is used instead of ippAddInteger(), then ippFindAttribute() retrieves the attribute correctly. Thanks, Sonam Link: http://www.cups.org/str.php?L4211 Version: 1.4.5