Diff for /libraries/libldap/result.c between versions 1.38 and 1.39

version 1.38, 1999/09/08 17:06:29 version 1.39, 1999/10/30 16:33:37
Line 1 Line 1
 /* $OpenLDAP$ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.38 1999/09/08 17:06:29 kdz Exp $ */
 /*  /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 643  int Line 643  int
 ldap_msgtype( LDAPMessage *lm )  ldap_msgtype( LDAPMessage *lm )
 {  {
         assert( lm != NULL );          assert( lm != NULL );
         return ( lm == NULL ) ? lm->lm_msgtype : -1;          return ( lm != NULL ) ? lm->lm_msgtype : -1;
 }  }
   
   
Line 652  ldap_msgid( LDAPMessage *lm ) Line 652  ldap_msgid( LDAPMessage *lm )
 {  {
         assert( lm != NULL );          assert( lm != NULL );
   
         return ( lm == NULL ) ? lm->lm_msgid : -1;          return ( lm != NULL ) ? lm->lm_msgid : -1;
 }  }
   
   

Removed from v.1.38  
changed lines
  Added in v.1.39


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