You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ji...@apache.org on 2002/03/27 21:51:52 UTC

cvs commit: apr/test testshm.c

jim         02/03/27 12:51:52

  Modified:    test     testshm.c
  Log:
  Would help to know the error :)
  
  Revision  Changes    Path
  1.6       +1 -1      apr/test/testshm.c
  
  Index: testshm.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testshm.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- testshm.c	13 Mar 2002 20:39:27 -0000	1.5
  +++ testshm.c	27 Mar 2002 20:51:52 -0000	1.6
  @@ -314,7 +314,7 @@
       }
       printf("Anonymous shared memory test passed!\n");
   
  -    if (test_named(pool) != APR_SUCCESS) {
  +    if ((rv = test_named(pool)) != APR_SUCCESS) {
           printf("Name-based shared memory test FAILED: [%d] %s \n",
                  rv, apr_strerror(rv, errmsg, sizeof(errmsg)));
           exit(-3);