ai->has_cname = !(flags & PR_AI_NOCANONNAME);
pr_GetAddrInfoByNameFB(const char  *hostname,                       PRUint16     af,                       PRIntn       flags){    PRStatus rv;    PRAddrInfoFB *ai;    /* fallback on PR_GetHostByName */    ai = PR_NEW(PRAddrInfoFB);    if (!ai) {        PR_SetError(PR_OUT_OF_MEMORY_ERROR, 0);        return NULL;    }    rv = PR_GetHostByName(hostname, ai->buf, sizeof ai->buf, &ai->hostent);    if (rv == PR_FAILURE) {        PR_Free(ai);        return NULL;    }    return (PRAddrInfo *) ai;}