Typo in str_lib.c

PR: 1177
This commit is contained in:
Andy Polyakov 2007-07-07 20:11:12 +00:00
parent 62aa5dd415
commit aa8d6f3e86

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