Typo in str_lib [from HEAD].

PR: 1177
This commit is contained in:
Andy Polyakov 2007-07-07 20:11:42 +00:00
parent 761f3b403b
commit d8e660a6dc

View file

@ -236,7 +236,7 @@ const STORE_METHOD *STORE_set_method(STORE *store, const STORE_METHOD *meth)
#define check_store(s,fncode,fnname,fnerrcode) \
do \
{ \
if ((s) == NULL || (s)->meth) \
if ((s) == NULL || (s)->meth == NULL) \
{ \
STOREerr((fncode), ERR_R_PASSED_NULL_PARAMETER); \
return 0; \