]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-meta/suffixmassage.c
import fix to ITS#5185
[openldap] / servers / slapd / back-meta / suffixmassage.c
index 244e4666eb816a564c55f5a5b008366b1b1c4bc0..2910493178d8d22b24603766e7498fb74b3359a7 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2003-2005 The OpenLDAP Foundation.
+ * Copyright 2003-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -126,7 +126,7 @@ ldap_back_dn_massage(
        int     i, src, dst;
        struct berval pretty = {0,NULL}, *dn = odn;
 
-       assert( res );
+       assert( res != NULL );
 
        if ( dn == NULL ) {
                res->bv_val = NULL;