errore mio...sostituisci strrchar con strrchr