diff options
author | Slava Semushin <php-coder@altlinux.ru> | 2009-06-06 21:53:38 +0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-06 22:45:02 +0200 |
commit | 3f5403220f2e3c0df4e436f908b97fe8cafd6616 (patch) | |
tree | 7fc1b4d3db92717fdc527e7307a70f8402c196c8 /source4/torture | |
parent | 497b9e460b5defd60de89b9c5bed890f83ca86a1 (diff) | |
download | samba-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 'source4/torture')
0 files changed, 0 insertions, 0 deletions