Ejemplo n.º 1
0
int CGlobalSettings::SetUserValue(const char *product, const char *key, const char *value, const char *buffer)
{
	if((!product || !strcmp(product,"cvsnt")) && key && !strcmp(key,"cvspass") && !SetCachedPassword(value,buffer) && buffer)
		return 0;
	return _SetUserValue(product,key,value,buffer);
}
Ejemplo n.º 2
0
int CGlobalSettings::SetUserValue(const char *product, const char *key, const char *value, LONGINT lival)
{
	char tmp[128];
	sprintf(tmp,"%I64d",lival);
	return _SetUserValue(product,key,value,tmp);
}