httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r520839 - /httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c
Date Wed, 21 Mar 2007 11:08:15 GMT
Author: jorton
Date: Wed Mar 21 04:08:14 2007
New Revision: 520839

URL: http://svn.apache.org/viewvc?view=rev&rev=520839
Log:
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_version): constify
where possible.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c?view=diff&rev=520839&r1=520838&r2=520839
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c Wed Mar 21 04:08:14 2007
@@ -635,7 +635,7 @@
 
 static char *ssl_var_lookup_ssl_version(apr_pool_t *p, char *var)
 {
-    static char interface[] = "mod_ssl/" MOD_SSL_VERSION;
+    static const char interface[] = "mod_ssl/" MOD_SSL_VERSION;
     static char library_interface[] = SSL_LIBRARY_TEXT;
     static char *library = NULL;
     char *result;



Mime
View raw message