Diff for /servers/slapd/oidm.c between versions 1.20 and 1.21

version 1.20, 2006/01/03 22:12:14 version 1.21, 2006/03/31 10:20:05
Line 1 Line 1
 /* oidm.c - object identifier macro routines */  /* oidm.c - object identifier macro routines */
 /* $OpenLDAP: pkg/ldap/servers/slapd/oidm.c,v 1.19 2005/07/20 12:19:52 ando Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/oidm.c,v 1.20 2006/01/03 22:12:14 kurt Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2006 The OpenLDAP Foundation.   * Copyright 1998-2006 The OpenLDAP Foundation.
Line 100  parse_oidm( Line 100  parse_oidm(
         OidMacro **rom)          OidMacro **rom)
 {  {
         char *oid;          char *oid;
         OidMacro *om;          OidMacro *om = NULL;
         struct berval bv;          struct berval bv;
   
         if (argc != 3) {          if (argc != 3) {
                 fprintf( stderr, "%s: line %d: too many arguments\n",                  fprintf( stderr, "%s: line %d: too many arguments\n",
                         fname, lineno );                          fname, lineno );
 usage:  fprintf( stderr, "\tObjectIdentifier <name> <oid>\n");  usage:  fprintf( stderr, "\tObjectIdentifier <name> <oid>\n");
                   if (om) SLAP_FREE( om );
                 return 1;                  return 1;
         }          }
   
Line 116  usage: fprintf( stderr, "\tObjectIdentif Line 117  usage: fprintf( stderr, "\tObjectIdentif
                         "%s: line %d: "                          "%s: line %d: "
                         "ObjectIdentifier \"%s\" previously defined \"%s\"",                          "ObjectIdentifier \"%s\" previously defined \"%s\"",
                         fname, lineno, argv[1], oid );                          fname, lineno, argv[1], oid );
                   SLAP_FREE( oid );
                 return 1;                  return 1;
         }          }
   

Removed from v.1.20  
changed lines
  Added in v.1.21


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