Interesting, when *strchar()'s return type is modified from: return string_ptr; to: return *string_ptr; the program segfaults. Morgon -- Fetch my public key from http://www.surgo.net/pubkey.asc