You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jw...@apache.org on 2002/02/03 02:50:59 UTC

cvs commit: httpd-2.0/modules/ssl ssl_engine_kernel.c

jwoolley    02/02/02 17:50:59

  Modified:    modules/ssl ssl_engine_kernel.c
  Log:
  Silence a gcc warning about cpType being possibly used uninitialized,
  and constify it while I'm at it.
  
  Revision  Changes    Path
  1.41      +1 -1      httpd-2.0/modules/ssl/ssl_engine_kernel.c
  
  Index: ssl_engine_kernel.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_kernel.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -d -u -r1.40 -r1.41
  --- ssl_engine_kernel.c	31 Jan 2002 14:55:05 -0000	1.40
  +++ ssl_engine_kernel.c	3 Feb 2002 01:50:58 -0000	1.41
  @@ -73,7 +73,7 @@
   apr_status_t ssl_hook_CloseConnection(SSLFilterRec *filter)
   {
       SSL *ssl;
  -    char *cpType;
  +    const char *cpType = "";
       conn_rec *conn;
       SSLConnRec *sslconn;