apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr/memory/unix apr_sms.c
Date Sat, 19 May 2001 21:55:44 GMT
jwoolley    01/05/19 14:55:44

  Modified:    memory/unix apr_sms.c
  Log:
  This assignment does seem to be intentional, so throw a
  !=NULL in there to make it more clear what's going on.
  
  Revision  Changes    Path
  1.5       +2 -2      apr/memory/unix/apr_sms.c
  
  Index: apr_sms.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_sms.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -d -u -r1.4 -r1.5
  --- apr_sms.c	2001/05/19 15:35:45	1.4
  +++ apr_sms.c	2001/05/19 21:55:43	1.5
  @@ -192,8 +192,8 @@
       mem_sys->parent_mem_sys = parent_mem_sys;
       mem_sys->accounting_mem_sys = mem_sys;
   
  -    if (parent_mem_sys != NULL){
  -        if ((mem_sys->sibling_mem_sys = parent_mem_sys->child_mem_sys)){
  +    if (parent_mem_sys != NULL) {
  +        if ((mem_sys->sibling_mem_sys = parent_mem_sys->child_mem_sys)!=NULL) {
               mem_sys->sibling_mem_sys->ref_mem_sys = &mem_sys->sibling_mem_sys;
           }
           mem_sys->ref_mem_sys = &parent_mem_sys->child_mem_sys;
  
  
  

Mime
View raw message