Sorry for the very long delay!
I have tried the following:
Code:
gStereoTool* st = stereoTool_Create("<key>");
const char* v1;
bool result = stereoTool_GetStsValue(st, PARAM_WebServer_Whitelist, 0, &v1);
stereoTool_SetStsValue(st, PARAM_WebServer_Whitelist, 0, "8.8.8.8");
bool result2 = stereoTool_GetStsValue(st, PARAM_WebServer_Whitelist, 0, &v1);
I got a valid whitelist back from the 1st call, and I got 8.8.8.8 back from the 2nd. Are you sure that you're calling it with the correct ID? It's 4121.
Note: I tested it on Windows; if this code looks like what you're doing as well it could be a Linux-specific issue. I haven't tested that, but since the code is the same that would be very unlikely.