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_vars.c
Date Thu, 04 Mar 2004 20:44:14 GMT
jorton      2004/03/04 12:44:13

  Modified:    modules/ssl ssl_engine_vars.c
  Log:
  * modules/ssl/ssl_engine_vars.c (ssl_var_lookup,
  ssl_var_lookup_ssl_cipher): Use apr_itoa instead of psprintf %d.
  
  Revision  Changes    Path
  1.41      +3 -3      httpd-2.0/modules/ssl/ssl_engine_vars.c
  
  Index: ssl_engine_vars.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_vars.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -w -d -u -r1.40 -r1.41
  --- ssl_engine_vars.c	4 Mar 2004 20:39:53 -0000	1.40
  +++ ssl_engine_vars.c	4 Mar 2004 20:44:13 -0000	1.41
  @@ -188,7 +188,7 @@
           else if (strcEQ(var, "SERVER_SOFTWARE"))
               result = ap_get_server_version();
           else if (strcEQ(var, "API_VERSION")) {
  -            result = apr_psprintf(p, "%d", MODULE_MAGIC_NUMBER);
  +            result = apr_itoa(p, MODULE_MAGIC_NUMBER);
               resdup = FALSE;
           }
           else if (strcEQ(var, "TIME_YEAR")) {
  @@ -559,11 +559,11 @@
       else if (strcEQ(var, "_EXPORT"))
           result = (usekeysize < 56 ? "true" : "false");
       else if (strcEQ(var, "_USEKEYSIZE")) {
  -        result = apr_psprintf(p, "%d", usekeysize);
  +        result = apr_itoa(p, usekeysize);
           resdup = FALSE;
       }
       else if (strcEQ(var, "_ALGKEYSIZE")) {
  -        result = apr_psprintf(p, "%d", algkeysize);
  +        result = apr_itoa(p, algkeysize);
           resdup = FALSE;
       }
   
  
  
  

Mime
View raw message