httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_log.c
Date Thu, 30 Oct 2003 12:15:28 GMT
jorton      2003/10/30 04:15:28

  Modified:    modules/ssl ssl_engine_log.c
  Log:
  * ssl_engine_log.c (ssl_log_ssl_error): Use the thread-safe
  interface for retrieving error strings.
  
  Revision  Changes    Path
  1.23      +3 -2      httpd-2.0/modules/ssl/ssl_engine_log.c
  
  Index: ssl_engine_log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_log.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -u -r1.22 -r1.23
  --- ssl_engine_log.c	3 Feb 2003 17:53:12 -0000	1.22
  +++ ssl_engine_log.c	30 Oct 2003 12:15:28 -0000	1.23
  @@ -118,8 +118,9 @@
       unsigned long e;
   
       while ((e = ERR_get_error())) {
  -        char *err, *annotation;
  -        err = ERR_error_string(e, NULL);
  +        char err[256], *annotation;
  +
  +        ERR_error_string_n(e, err, sizeof err);
           annotation = ssl_log_annotation(err);
   
           if (annotation) {
  
  
  

Mime
View raw message