C bothers me with its handling of strings. I have a pseudocode like this in my mind:
char *data[20]; char *tmp; int i,j; for(i=0;i<20;i++) { tmp = da
Might it be that your test is if (strcmp (this, that)) which will succeed if the two are different? !strcmp is probably what you want there.