Alex Henrie : http: Use the strdup function instead of reimplementing it.