Added some extra debug statements.

This commit is contained in:
Juan Carlos Luciani 2006-08-14 20:17:11 +00:00
parent 14a164564b
commit 392a4e7695

View File

@ -138,6 +138,8 @@ GetUserCredentials(
// Copy the password into the buffer that we will be returning // Copy the password into the buffer that we will be returning
strcpy(pPassword, credential.password); strcpy(pPassword, credential.password);
DbgTrace(1, "-GetUserCredentials- Username = %s\n", pUsername);
// Success // Success
retStatus = CASA_STATUS_SUCCESS; retStatus = CASA_STATUS_SUCCESS;
} }
@ -160,6 +162,10 @@ GetUserCredentials(
CASA_STATUS_INSUFFICIENT_RESOURCES); CASA_STATUS_INSUFFICIENT_RESOURCES);
} }
} }
else
{
DbgTrace(0, "-GetUserCredentials- Failed to obtain credentials for pw authentication\n", 0);
}
// Return the buffers to the caller if successful // Return the buffers to the caller if successful
if (CASA_SUCCESS(retStatus)) if (CASA_SUCCESS(retStatus))