From: "jared.r.richardson@..." Date: 2006-07-20T04:10:12+09:00 Subject: STR2CSTR? Malloc or not? Hi all, I've seen code examples for STR2CSTR that have mallocs and (mostly) those that don't. Which way is right? Is char * first_string = STR2CSTR( passed_in_string); good enough or should I be running: char * first_string = malloc (sizeof(passed_in_string) + 1); strcpy(first_string, passed_in_string); Thanks, Jared http://jaredricardson.net