aboutsummaryrefslogtreecommitdiff
path: root/crypto/bio/bss_log.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-03-14 06:51:18 +0000
committerRichard Levitte <levitte@openssl.org>2000-03-14 06:51:18 +0000
commitd8779db47b16486bb9d081a910c56e6f22ecfa85 (patch)
treeecf121ec79083d6d4f4c1651a978b4e70ad9a45e /crypto/bio/bss_log.c
parent2db90e3ad34b9df969a7649c00d14e8282cc3700 (diff)
downloadopenssl-d8779db47b16486bb9d081a910c56e6f22ecfa85.zip
openssl-d8779db47b16486bb9d081a910c56e6f22ecfa85.tar.gz
openssl-d8779db47b16486bb9d081a910c56e6f22ecfa85.tar.bz2
Typos corrected.
Diffstat (limited to 'crypto/bio/bss_log.c')
-rw-r--r--crypto/bio/bss_log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c
index 2de2994..4faa3d1 100644
--- a/crypto/bio/bss_log.c
+++ b/crypto/bio/bss_log.c
@@ -281,7 +281,7 @@ static void xsyslog(BIO *bp, int priority, const char *string)
lib$sys_fao(&fao_cmd, &len, &buf_dsc, string);
/* we knoe there's an 8 byte header. That's documented */
- opcdef_p = (struct opcdef *) Malloc(8 + strlen(s));
+ opcdef_p = (struct opcdef *) Malloc(8 + strlen(string));
opcdef_p->opc$b_ms_type = OPC$_RQ_RQST;
opcdef_p->opc$b_ms_target = VMS_OPC_target;
memcpy(opcdef_p->opc$b_ms_target, &priority, 3);
@@ -290,10 +290,10 @@ static void xsyslog(BIO *bp, int priority, const char *string)
opc_dsc.dsc$b_dtype = DSC$K_DTYPE_T;
opc_dsc.dsc$b_class = DSC$K_CLASS_S;
- opc_dsc.dsc$a_pointer = opcdef_p;
+ opc_dsc.dsc$a_pointer = (char *)opcdef_p;
opc_dsc.dsc$w_length = len + 8;
- sys$sndopc(opc_dsc, 0);
+ sys$sndopr(opc_dsc, 0);
Free(opcdef_p);
}