>char secret[80] = "megan\0";
You don't need to place the nul at the end, the compiler will do it for you.
nice one..... BTW 80 for megan isn't needed.

You can use one of two notations to do this:
if ( strcmp ( stat.name, secret ) == 0)
if ( !strcmp ( stat.name, secret ) )
Prelude, which one do you prefer?