Pawel Jakub Dawidek 2b1b224d24 For functions that return -1 on failure check exactly for -1 and not for
any negative number.

MFC after:	3 days
2012-01-10 22:39:07 +00:00
..
2012-01-07 16:09:33 +00:00