mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-21 10:43:36 +00:00
1. Removed uneccessary printf
2. Added support for hex values for CAched db entries 3. Added --copy-msh support in agent installer 4. Added --no-embedded support
This commit is contained in:
@@ -142,6 +142,13 @@ void ILibSimpleDataStore_CachedEx(ILibSimpleDataStore dataStore, char* key, int
|
||||
value = value + 1;
|
||||
valueLen -= 2;
|
||||
}
|
||||
if (valueLen > 2 && strncmp(value, "0x", 2) == 0 && valueLen < 1024)
|
||||
{
|
||||
char *vtmp = ILibMemory_AllocateA((valueLen - 2) / 2);
|
||||
util_hexToBuf(value + 2, valueLen - 2, vtmp);
|
||||
value = vtmp;
|
||||
valueLen = (int)ILibMemory_AllocateA_Size(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
ILibSimpleDataStore_Root *root = (ILibSimpleDataStore_Root*)dataStore;
|
||||
|
||||
Reference in New Issue
Block a user