mirror of https://github.com/BOINC/boinc.git
use common/cfg-master.c:_DC_initClientConfig() to pass config params
to client defined by CFG_SENDKEYS param git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@861 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
34b631100c
commit
2faa1c47f0
|
@ -305,10 +305,11 @@ _DC_wu_make_client_config(DC_Workunit *wu)
|
|||
g_string_append(fn, CLIENT_CONFIG_NAME);
|
||||
if ((f= fopen(fn->str, "w")) != NULL)
|
||||
{
|
||||
fprintf(f, "LogLevel = %s\n",
|
||||
DC_getClientCfgStr(wu->data.client_name,
|
||||
"LogLevel",
|
||||
TRUE));
|
||||
if (_DC_initClientConfig(wu->data.client_name, f))
|
||||
{
|
||||
fclose(f);
|
||||
return(DC_ERR_BADPARAM);
|
||||
}
|
||||
fprintf(f, "LogFile = %s\n",
|
||||
DC_getClientCfgStr(wu->data.client_name,
|
||||
"LogFile",
|
||||
|
|
Loading…
Reference in New Issue