apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: apr/memory/unix apr_sms.c
Date Sat, 07 Jul 2001 13:26:28 GMT
dreid       01/07/07 06:26:28

  Modified:    memory/unix apr_sms.c
  Log:
  Remove an uneeded cast.
  
  Submitted by:	Sander Striker <striker@samba-tng.org>
  Reviewed by:	David Reid <dreid@apache.org>
  
  Revision  Changes    Path
  1.46      +1 -1      apr/memory/unix/apr_sms.c
  
  Index: apr_sms.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_sms.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- apr_sms.c	2001/07/07 13:03:45	1.45
  +++ apr_sms.c	2001/07/07 13:26:28	1.46
  @@ -936,7 +936,7 @@
           sms->prog_data = apr_hash_make(sms->pool);
   
       if (apr_hash_get(sms->prog_data, key, keylen) == NULL) {
  -        char *new_key = apr_pstrdup((apr_pool_t*)sms->pool, key);
  +        char *new_key = apr_pstrdup(sms->pool, key);
           apr_hash_set(sms->prog_data, new_key, keylen, data);
       } else {
           apr_hash_set(sms->prog_data, key, keylen, data);
  
  
  

Mime
View raw message