diff options
author | Richard Levitte <levitte@openssl.org> | 2000-08-03 21:56:36 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-08-03 21:56:36 +0000 |
commit | ea58130d1af15cce09c67ab1ea0713010e3501fc (patch) | |
tree | 4acfb0d8651975c4bb65fef55bf3853581e34dce /crypto/bio/bss_log.c | |
parent | 3132e196bd1840804d85331890a0a2fa1319a43d (diff) | |
download | openssl-ea58130d1af15cce09c67ab1ea0713010e3501fc.zip openssl-ea58130d1af15cce09c67ab1ea0713010e3501fc.tar.gz openssl-ea58130d1af15cce09c67ab1ea0713010e3501fc.tar.bz2 |
On Unicos, openlog() isn't constified, so let's not do that in xopenlog()
Diffstat (limited to 'crypto/bio/bss_log.c')
-rw-r--r-- | crypto/bio/bss_log.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index 05361e0..c715c10 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -115,7 +115,7 @@ static int MS_CALLBACK slg_puts(BIO *h, const char *str); static long MS_CALLBACK slg_ctrl(BIO *h, int cmd, long arg1, void *arg2); static int MS_CALLBACK slg_new(BIO *h); static int MS_CALLBACK slg_free(BIO *data); -static void xopenlog(BIO* bp, const char* name, int level); +static void xopenlog(BIO* bp, char* name, int level); static void xsyslog(BIO* bp, int priority, const char* string); static void xcloselog(BIO* bp); #ifdef WIN32 @@ -223,7 +223,7 @@ static int MS_CALLBACK slg_puts(BIO *bp, const char *str) #if defined(WIN32) -static void xopenlog(BIO* bp, const char* name, int level) +static void xopenlog(BIO* bp, char* name, int level) { if ( !register_event_source ) { @@ -291,7 +291,7 @@ static void xcloselog(BIO* bp) static int VMS_OPC_target = LOG_DAEMON; -static void xopenlog(BIO* bp, const char* name, int level) +static void xopenlog(BIO* bp, char* name, int level) { VMS_OPC_target = level; } @@ -348,9 +348,9 @@ static void xcloselog(BIO* bp) #else /* Unix */ -static void xopenlog(BIO* bp, const char* name, int level) +static void xopenlog(BIO* bp, char* name, int level) { - openlog((char *)name, LOG_PID|LOG_CONS, level); + openlog(name, LOG_PID|LOG_CONS, level); } static void xsyslog(BIO *bp, int priority, const char *string) |