summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-01-24 01:16:02 +0000
committerRichard Levitte <levitte@openssl.org>2004-01-24 01:16:02 +0000
commita5e8bcfb7b276aa259a991f05d8f9860b904171e (patch)
tree5db051838ab1c6f08b36127dacbac8698f205d14 /crypto/err
parent9d5c3c1939ba9cdcc8b7cc0d1e56be2bab9a8a76 (diff)
We're passed p, so let's use p instead of making assumptions.
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index 04cea41d0d..e28ec56ffa 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -594,11 +594,11 @@ static void build_SYS_str_reasons()
#define err_clear(p,i) \
do { \
- es->err_flags[i]=0; \
- es->err_buffer[i]=0; \
+ (p)->err_flags[i]=0; \
+ (p)->err_buffer[i]=0; \
err_clear_data(p,i); \
- es->err_file[i]=NULL; \
- es->err_line[i]= -1; \
+ (p)->err_file[i]=NULL; \
+ (p)->err_line[i]= -1; \
} while(0)
static void ERR_STATE_free(ERR_STATE *s)