>if (userid_match((char *)userid0, (char *) userid, > (exact_match ? NULL : n))) I had problems with ?: returning NIL or an actual pointer. I changed to an if/else. Try casting the NULL to the same pointer type as n. -- --Jay, jay.krell@cornell.edu