fileNameBuf[destIndex] = description[srcIndex];
fileNameBuf[destIndex] = descr[srcIndex];
char * dir_ConvertDescriptionToPrefName(DIR_Server * server){#define MAX_PREF_NAME_SIZE 25	char * fileName = nsnull;	char fileNameBuf[MAX_PREF_NAME_SIZE];	PRInt32 srcIndex = 0;	PRInt32 destIndex = 0;	PRInt32 numSrcBytes = 0;	const char * description = nsnull;	if (server && server->description)	{		description = server->description;		numSrcBytes = PL_strlen(description);		while (srcIndex < numSrcBytes && destIndex < MAX_PREF_NAME_SIZE-1)		{			if (XP_IS_DIGIT(description[srcIndex]) ||XP_IS_ALPHA(description[srcIndex]) )			{				fileNameBuf[destIndex] = description[srcIndex];				destIndex++;			}			srcIndex++;		}		fileNameBuf[destIndex] = '\0'; /* zero out the last character */	}	if (destIndex) /* have at least one character in the file name? */		fileName = PL_strdup(fileNameBuf);	return fileName;}