fixed diff bug
Merge pull request #212 from xithan/revandmail

fixed diff bug