On Sunday 2012-08-05 11:35 -0700, justSomeGuy wrote:
> > Looking over this code again, |if(strcmp(aTopic, 
> > 
> > "http-on-examine-response"))| is incorrect. If that's present in the 
> > 
> > original code, you should fix it.
> 
> Thank you for your rapid response. If I may ask what is wrong with it.

The problem is that if you want to test if strings are equal, you
should test strcmp() == 0, or !strcmp().

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to