brianp      2002/07/04 18:26:09

  Modified:    test     testuuid.c
  Log:
  Added apr_initialize() to uuid test program
  
  Revision  Changes    Path
  1.5       +4 -0      apr/test/testuuid.c
  
  Index: testuuid.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testuuid.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- testuuid.c        13 Mar 2002 20:39:28 -0000      1.4
  +++ testuuid.c        5 Jul 2002 01:26:09 -0000       1.5
  @@ -54,6 +54,7 @@
   
   #include <stdio.h>
   
  +#include "apr_general.h"
   #include "apr_uuid.h"
   
   
  @@ -63,6 +64,9 @@
       apr_uuid_t uuid2;
       char buf[APR_UUID_FORMATTED_LENGTH + 1];
       int retcode = 0;
  +
  +    apr_initialize();
  +    atexit(apr_terminate);
   
       apr_uuid_get(&uuid);
       apr_uuid_format(buf, &uuid);
  
  
  

Reply via email to