Small changes for debugging purposes.

This commit is contained in:
Juan Carlos Luciani 2006-08-22 18:07:56 +00:00
parent 15bd2b63e2
commit 1a3a936994
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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