for (i=0; i<outBufLen; i+=2) {
for (i=0; i<*outBufLen; i+=2) {
SSM_UCS2_ASCIIConversion(PRBool toUnicode,                          unsigned char *inBuf,                         unsigned int inBufLen,                         unsigned char *outBuf,                         unsigned int maxOutBufLen,                          unsigned int *outBufLen,                          PRBool swapBytes){    if (!inBuf || !outBuf || !outBufLen) {        return PR_FALSE;    }    if (toUnicode) {    	PRBool rv;#ifdef DEBUG	unsigned int outLen;	int i;	fprintf(stderr,"\n---ssm_ConvertAsciiToUCS2---\nInput: inBuf= ");	for (i = 0; i < inBufLen; i++) {	    fprintf(stderr, "%c", inBuf[i]);	}	fprintf(stderr,"\ninBufLen=%d\n", inBufLen);#endif	rv = nlsASCIIToUnicode(inBuf, inBufLen, 				    outBuf, maxOutBufLen, outBufLen);    if (swapBytes) {        unsigned int i;        char tmp;        for (i=0; i<outBufLen; i+=2) {            tmp = outBuf[i];            outBuf[i]   = outBuf[i+1];            outBuf[i+1] = tmp;        }    }#ifdef DEBUG	outLen = *outBufLen;	fprintf(stderr,"output: outBuf= ");	for(i = 0; i < outLen; i++) {	    fprintf(stderr, "%c ", outBuf[i]);	}	fprintf(stderr,"\noutBuf= ");	for(i = 0; i < outLen; i++) {	    fprintf(stderr,"%2x ", outBuf[i]);	}	fprintf(stderr,"\noutLen = %d\n", outLen);#endif /* DEBUG */	return rv;    }    PR_ASSERT(PR_FALSE); /* not supported yet */    return PR_FALSE;}