Small changes for debugging purposes.
This commit is contained in:
parent
15bd2b63e2
commit
1a3a936994
@ -574,7 +574,6 @@ ObtainAuthToken(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Try to return auth token if we have one to return
|
// Try to return auth token if we have one to return
|
||||||
if (CASA_SUCCESS(retStatus))
|
if (CASA_SUCCESS(retStatus))
|
||||||
{
|
{
|
||||||
@ -585,7 +584,7 @@ ObtainAuthToken(
|
|||||||
if (*pAuthTokenBufLen >= tokenLen)
|
if (*pAuthTokenBufLen >= tokenLen)
|
||||||
{
|
{
|
||||||
// Return the auth token to the caller
|
// Return the auth token to the caller
|
||||||
DbgTrace(0, "-ObtainAuthToken- Copying the token into the callers buffer\n", 0);
|
DbgTrace(2, "-ObtainAuthToken- Copying the token into the callers buffer\n", 0);
|
||||||
strcpy(pAuthTokenBuf, pCacheEntry->token);
|
strcpy(pAuthTokenBuf, pCacheEntry->token);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -622,7 +621,6 @@ exit:
|
|||||||
{
|
{
|
||||||
DestroyUserMutex(hUserMutex);
|
DestroyUserMutex(hUserMutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
DbgTrace(1, "-ObtainAuthToken- End, retStatus = %08X\n", retStatus);
|
DbgTrace(1, "-ObtainAuthToken- End, retStatus = %08X\n", retStatus);
|
||||||
|
|
||||||
return retStatus;
|
return retStatus;
|
||||||
|
@ -147,7 +147,7 @@ EncodeData(
|
|||||||
void NonHttpTest(void)
|
void NonHttpTest(void)
|
||||||
{
|
{
|
||||||
CasaStatus retStatus;
|
CasaStatus retStatus;
|
||||||
char authToken[4096];
|
char authToken[8192];
|
||||||
int authTokenLen = sizeof(authToken);
|
int authTokenLen = sizeof(authToken);
|
||||||
|
|
||||||
// Obtain an authentication token for the testService
|
// Obtain an authentication token for the testService
|
||||||
|
Loading…
Reference in New Issue
Block a user