diff options
author | jacobs <none@none> | 2007-04-13 16:44:02 -0700 |
---|---|---|
committer | jacobs <none@none> | 2007-04-13 16:44:02 -0700 |
commit | c40965e4e1982e84fcf94de7a0dc205d449e05c4 (patch) | |
tree | d3b09450d4bbfd5e11551760e316cf43a797851d /usr/src/lib/print | |
parent | bd5c6927dde2a36d0a8202be51a68f13fd7efb28 (diff) | |
download | illumos-joyent-c40965e4e1982e84fcf94de7a0dc205d449e05c4.tar.gz |
6544792 IPP responses have unmatched request-id
Diffstat (limited to 'usr/src/lib/print')
-rw-r--r-- | usr/src/lib/print/libipp-core/common/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/print/libipp-core/common/read.c b/usr/src/lib/print/libipp-core/common/read.c index 8bfca1e15b..6127958f66 100644 --- a/usr/src/lib/print/libipp-core/common/read.c +++ b/usr/src/lib/print/libipp-core/common/read.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * */ @@ -623,7 +623,7 @@ ipp_read_header(ipp_reader_t iread, void *fd, papi_attribute_t ***message, (void) papiAttributeListAddInteger(message, PAPI_ATTR_REPLACE, attr_name, s); - memcpy(&s, &buf[4], 4); + memcpy(&i, &buf[4], 4); i = (uint32_t)ntohl(i); (void) papiAttributeListAddInteger(message, PAPI_ATTR_REPLACE, "request-id", i); |