Typo in str_lib.c [from HEAD].

PR: 1177
This commit is contained in:
Andy Polyakov 2007-07-07 20:12:12 +00:00
parent a334b0436d
commit 0225c7a41e

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; \