summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorSlava Semushin <php-coder@altlinux.ru>2009-06-06 21:53:38 +0700
committerVolker Lendecke <vl@samba.org>2009-06-06 22:45:02 +0200
commit3f5403220f2e3c0df4e436f908b97fe8cafd6616 (patch)
tree7fc1b4d3db92717fdc527e7307a70f8402c196c8 /nsswitch
parent497b9e460b5defd60de89b9c5bed890f83ca86a1 (diff)
downloadsamba-3f5403220f2e3c0df4e436f908b97fe8cafd6616.tar.gz
samba-3f5403220f2e3c0df4e436f908b97fe8cafd6616.tar.bz2
samba-3f5403220f2e3c0df4e436f908b97fe8cafd6616.zip
testsuite/nsswitch/get{gr,pw}ent_r.c(dump_{gr,pw}ent): fixed wrong condition.
When fopen() fails it return NULL, so condition where return value less than zero never evaluated to truth. Found by cppcheck.
Diffstat (limited to 'nsswitch')
0 files changed, 0 insertions, 0 deletions