It depends. Personally I'm happy to have my grammar corrected, as long as it's done with good intentions. Perhaps I'm in the minority. I do normally avoid correcting others though, since it's difficult to tell whether someone will be receptive (or offended).