Bug 84375: "CCK -" added before Company identifier (r=bobj)
"CCK-" is added to user agent string only once git-svn-id: svn://10.0.0.236/trunk@96756 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9c7e703922
commit
cb8d14b3bd
@ -936,10 +936,13 @@ int StartIB(CString parms, WIDGET *curWidget)
|
||||
|
||||
//Check to see if the User Agent string exists and if so then append -CCK to it ;
|
||||
CString userAgent = GetGlobal("OrganizationName");
|
||||
CString tempAgent ="CCK -";
|
||||
if (userAgent)
|
||||
tempAgent += userAgent;
|
||||
SetGlobal("OrganizationName",tempAgent);
|
||||
if (userAgent)
|
||||
{
|
||||
CString templeft = userAgent.Left(5);
|
||||
if ((templeft.CompareNoCase("CCK -")) != 0)
|
||||
userAgent = "CCK -" + userAgent;
|
||||
}
|
||||
SetGlobal("OrganizationName",userAgent);
|
||||
|
||||
// check to see if the bmp for rshell background is bigger than 302KB;
|
||||
HANDLE hFile;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user