request message (<rdar://problem/
14401718>)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11113
a1ca3aef-8c08-0410-bb20-
df032aa958be
- The configure script now prefers Clang over GCC.
- Fixed a compile problem on AIX (STR #4307)
+ - The default IPP version did not always get set before creating a new
+ IPP request message (<rdar://problem/14401718>)
- The lp, lpq, lpr, and lpstat now display an error message advising the
use of the /version=1.1 ServerName option (<rdar://problem/14290628>)
- Added documentation about the /version=1.1 option to ServerName in
cg->any_root = 1;
cg->expired_certs = 1;
cg->expired_root = 1;
- cg->server_version = 20;
#ifdef DEBUG
/*
* Set default version - usually 2.0...
*/
+ if (cg->server_version == 0)
+ _cupsSetDefaults();
+
temp->request.any.version[0] = cg->server_version / 10;
temp->request.any.version[1] = cg->server_version % 10;
temp->use = 1;
else if (!strcmp(options, "version=2.2"))
cg->server_version = 22;
}
+ else
+ cg->server_version = 20;
if (cg->server[0] != '/' && (port = strrchr(cg->server, ':')) != NULL &&
!strchr(port, ']') && isdigit(port[1] & 255))