strlen to PL_strlen. Not in the build yet.

git-svn-id: svn://10.0.0.236/trunk@2187 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gagan
1998-05-22 18:34:22 +00:00
parent 60a0ef89f7
commit b64eb63d71
3 changed files with 35 additions and 8 deletions

View File

@@ -16,7 +16,6 @@
* Reserved.
*/
#include <string.h>
#include <prtypes.h>
#include <plstr.h>
@@ -124,10 +123,10 @@ nsCacheObject* nsMemModule::GetObject(const char* i_url) const
if (m_pFirstObject && i_url && *i_url)
{
nsMemCacheObject* pObj = m_pFirstObject;
int inlen = strlen(i_url);
int inlen = PL_strlen(i_url);
do
{
if (0 == _strnicmp(pObj->ThisObject()->Address(), i_url, inlen))
if (0 == PL_strncasecmp(pObj->ThisObject()->Address(), i_url, inlen))
return pObj->ThisObject();
pObj = pObj->Next();
}
@@ -183,4 +182,4 @@ nsMemModule::nsMemKey::neMemKey()
{
}
*/
*/