Fixing Linux build errors.
This commit is contained in:
parent
6a56e24838
commit
1c67986423
@ -218,7 +218,7 @@ AuthTokenIf_GetAuthToken(
|
|||||||
// using the format settingName=settingvalue. No white space is allowed
|
// using the format settingName=settingvalue. No white space is allowed
|
||||||
// as part of the mechanism information.
|
// as part of the mechanism information.
|
||||||
char *pNextSettingToken;
|
char *pNextSettingToken;
|
||||||
char *pSettingValueToken = strtok_s(pMechInfo, ";", &pNextSettingToken);
|
char *pSettingValueToken = strtok_r(pMechInfo, ";", &pNextSettingToken);
|
||||||
while (pSettingValueToken != NULL)
|
while (pSettingValueToken != NULL)
|
||||||
{
|
{
|
||||||
char *pNextToken;
|
char *pNextToken;
|
||||||
@ -237,7 +237,7 @@ AuthTokenIf_GetAuthToken(
|
|||||||
printf("Bad setting\n");
|
printf("Bad setting\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
pSettingValueToken = strtok_s(NULL, ";", &pNextSettingToken);
|
pSettingValueToken = strtok_r(NULL, ";", &pNextSettingToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ AuthTokenIf_GetAuthToken(
|
|||||||
// using the format settingName=settingvalue. No white space is allowed
|
// using the format settingName=settingvalue. No white space is allowed
|
||||||
// as part of the mechanism information.
|
// as part of the mechanism information.
|
||||||
char *pNextSettingToken;
|
char *pNextSettingToken;
|
||||||
char *pSettingValueToken = strtok_s(pMechInfo, ";", &pNextSettingToken);
|
char *pSettingValueToken = strtok_r(pMechInfo, ";", &pNextSettingToken);
|
||||||
while (pSettingValueToken != NULL)
|
while (pSettingValueToken != NULL)
|
||||||
{
|
{
|
||||||
char *pNextToken;
|
char *pNextToken;
|
||||||
@ -146,7 +146,7 @@ AuthTokenIf_GetAuthToken(
|
|||||||
printf("Bad setting\n");
|
printf("Bad setting\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
pSettingValueToken = strtok_s(NULL, ";", &pNextSettingToken);
|
pSettingValueToken = strtok_r(NULL, ";", &pNextSettingToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -329,7 +329,7 @@ AuthTokenIf_GetAuthToken(
|
|||||||
printf("Bad setting\n");
|
printf("Bad setting\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
pSettingValueToken = strtok_s(NULL, ";", &pNextSettingToken);
|
pSettingValueToken = strtok_r(NULL, ";", &pNextSettingToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user