Diff for /libraries/liblber/assert.c between versions 1.2 and 1.6

version 1.2, 1999/05/18 23:12:36 version 1.6, 2000/05/13 00:36:07
Line 1 Line 1
   /* $OpenLDAP: pkg/ldap/libraries/liblber/assert.c,v 1.5 1999/09/08 17:06:27 kdz Exp $ */
 /*  /*
  * Copyright 1999 The OpenLDAP Foundation, Redwood City, California, USA   * Copyright 1999-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms are permitted only   * Redistribution and use in source and binary forms are permitted only
Line 12 Line 13
   
 #ifdef LDAP_NEED_ASSERT  #ifdef LDAP_NEED_ASSERT
   
 #include <ac/stdio.h>  #include <stdio.h>
   
 /*  /*
  * helper for our private assert() macro   * helper for our private assert() macro
Line 22 Line 23
  * issue for now.   * issue for now.
  */   */
   
 void ber_pvt_assert(char* file, int line, char* test)  void
   ber_pvt_assert( const char *file, int line, const char *test )
 {  {
         fprintf(stderr,          fprintf(stderr,
                 "Assertion failed: %s, file %s, line %d\n",                  "Assertion failed: %s, file %s, line %d\n",

Removed from v.1.2  
changed lines
  Added in v.1.6


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org