apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: apr/test abts.c
Date Mon, 21 Jun 2004 16:08:57 GMT
dreid       2004/06/21 09:08:57

  Modified:    test     abts.c
  Log:
  Bring in the patch from apr-util that allows for NULL strings to be passed
  into abts_str_equal.
  
  Revision  Changes    Path
  1.13      +3 -1      apr/test/abts.c
  
  Index: abts.c
  ===================================================================
  RCS file: /home/cvs/apr/test/abts.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- abts.c	8 Jun 2004 00:35:10 -0000	1.12
  +++ abts.c	21 Jun 2004 16:08:57 -0000	1.13
  @@ -259,7 +259,9 @@
       update_status();
       if (tc->failed) return;
   
  -    if (!strcmp(expected, actual)) return;
  +    if (!expected && !actual) return;
  +    if (expected && actual)
  +        if (!strcmp(expected, actual)) return;
   
       tc->failed = TRUE;
       if (verbose) {
  
  
  

Mime
View raw message